electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 1b6abf6e028cbabd5e125784cff6d4ada665e722
parent b9dbabc117bcd550877ae60f956705287e7f2139
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:
Mgui/qt/__init__.py | 1-
Mgui/qt/main_window.py | 2+-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/gui/qt/__init__.py b/gui/qt/__init__.py @@ -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_() diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -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()