set window.app in constructor
This commit is contained in:
parent
90a22f1a36
commit
cc48663d0e
|
@ -223,7 +223,6 @@ class ElectrumGui:
|
|||
if url:
|
||||
self.set_url(url)
|
||||
|
||||
w.app = self.app
|
||||
w.connect_slots(s)
|
||||
w.update_wallet()
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue