tqt history list: rm and fix magic number - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 4007720b3457dbdd83f9c33a77b6e5c2834d87d5 DIR parent f7fb14a538bb95be54a8c2d6ec92c936fc183e99 HTML Author: SomberNight <somber.night@protonmail.com> Date: Wed, 27 Nov 2019 20:29:49 +0100 qt history list: rm and fix magic number Diffstat: M electrum/gui/qt/history_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum/gui/qt/history_list.py b/electrum/gui/qt/history_list.py t@@ -247,7 +247,7 @@ class HistoryModel(QAbstractItemModel, Logger): def update_label(self, row): tx_item = self.transactions.value_from_pos(row) 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.parent.utxo_list.update()