tMerge pull request #1177 from kyuupichan/reduce_redraws - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 1b6abf6e028cbabd5e125784cff6d4ada665e722 DIR parent b9dbabc117bcd550877ae60f956705287e7f2139 HTML Author: ThomasV <electrumdev@gmail.com> Date: Thu, 30 Apr 2015 11:51:55 +0200 Merge pull request #1177 from kyuupichan/reduce_redraws Remove two redundant refreshes of history tab during startup. Diffstat: M gui/qt/__init__.py | 1 - M gui/qt/main_window.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) --- DIR diff --git a/gui/qt/__init__.py b/gui/qt/__init__.py t@@ -241,7 +241,6 @@ class ElectrumGui: self.set_url(url) w.connect_slots(s) - w.update_wallet() signal.signal(signal.SIGINT, lambda *args: self.app.quit()) self.app.exec_() DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -216,7 +216,7 @@ class ElectrumWindow(QMainWindow): title += ' [%s]' % (_('watching only')) self.setWindowTitle( title ) self.update_history_tab() - self.update_wallet() + self.need_update.set() # Once GUI has been initialized check if we want to announce something since the callback has been called before the GUI was initialized self.notify_transactions() self.update_account_selector()