tqt HistoryList.update_item: perf optimisation - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 533bd97a05591d040caf7d1ca0132c7c28783e99 DIR parent c8f82c71c90d7335d6aaaf652a6b93be96f921cc HTML Author: SomberNight <somber.night@protonmail.com> Date: Tue, 18 Sep 2018 03:19:24 +0200 qt HistoryList.update_item: perf optimisation 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@@ -316,7 +316,7 @@ class HistoryList(MyTreeWidget, AcceptFileDragDrop): conf = tx_mined_status.conf status, status_str = self.wallet.get_tx_status(tx_hash, tx_mined_status) icon = self.icon_cache.get(":icons/" + TX_ICONS[status]) - items = self.findItems(tx_hash, Qt.UserRole|Qt.MatchContains|Qt.MatchRecursive, column=1) + items = self.findItems(tx_hash, Qt.MatchExactly, column=1) if items: item = items[0] item.setIcon(0, icon)