1
0

Improved new_window handling.

Remove new_window hook.
Plugin informed of all windows via events when first loaded.
init_qt no longer needed for exchange_rate plugin.
This commit is contained in:
Neil Booth
2015-09-04 09:53:16 +09:00
parent fcc452d7b0
commit 77a029082a
4 changed files with 14 additions and 14 deletions

View File

@@ -182,8 +182,6 @@ class ElectrumWindow(QMainWindow):
self.fetch_alias()
self.require_fee_update = False
self.tx_notifications = []
# hook
run_hook('new_window', self)
def is_hidden(self):
return self.isMinimized() or self.isHidden()