set window.app in constructor

This commit is contained in:
ThomasV 2015-03-19 11:12:29 +01:00
parent 90a22f1a36
commit cc48663d0e
2 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,6 @@ class ElectrumGui:
if url:
self.set_url(url)
w.app = self.app
w.connect_slots(s)
w.update_wallet()

View File

@ -118,6 +118,7 @@ class ElectrumWindow(QMainWindow):
self.tray = gui_object.tray
self.go_lite = gui_object.go_lite
self.lite = None
self.app = gui_object.app
self.create_status_bar()
self.need_update = threading.Event()