mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-10 04:29:51 +00:00
qt history list: rm and fix magic number
This commit is contained in:
parent
f7fb14a538
commit
4007720b34
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ class HistoryModel(QAbstractItemModel, Logger):
|
||||||
def update_label(self, row):
|
def update_label(self, row):
|
||||||
tx_item = self.transactions.value_from_pos(row)
|
tx_item = self.transactions.value_from_pos(row)
|
||||||
tx_item['label'] = self.parent.wallet.get_label(get_item_key(tx_item))
|
tx_item['label'] = self.parent.wallet.get_label(get_item_key(tx_item))
|
||||||
topLeft = bottomRight = self.createIndex(row, 2)
|
topLeft = bottomRight = self.createIndex(row, HistoryColumns.DESCRIPTION)
|
||||||
self.dataChanged.emit(topLeft, bottomRight, [Qt.DisplayRole])
|
self.dataChanged.emit(topLeft, bottomRight, [Qt.DisplayRole])
|
||||||
self.parent.utxo_list.update()
|
self.parent.utxo_list.update()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue