Merge pull request #1177 from kyuupichan/reduce_redraws
Remove two redundant refreshes of history tab during startup.
This commit is contained in:
commit
1b6abf6e02
|
@ -241,7 +241,6 @@ class ElectrumGui:
|
||||||
self.set_url(url)
|
self.set_url(url)
|
||||||
|
|
||||||
w.connect_slots(s)
|
w.connect_slots(s)
|
||||||
w.update_wallet()
|
|
||||||
|
|
||||||
signal.signal(signal.SIGINT, lambda *args: self.app.quit())
|
signal.signal(signal.SIGINT, lambda *args: self.app.quit())
|
||||||
self.app.exec_()
|
self.app.exec_()
|
||||||
|
|
|
@ -216,7 +216,7 @@ class ElectrumWindow(QMainWindow):
|
||||||
title += ' [%s]' % (_('watching only'))
|
title += ' [%s]' % (_('watching only'))
|
||||||
self.setWindowTitle( title )
|
self.setWindowTitle( title )
|
||||||
self.update_history_tab()
|
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
|
# 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.notify_transactions()
|
||||||
self.update_account_selector()
|
self.update_account_selector()
|
||||||
|
|
Loading…
Reference in New Issue