1
0

qt: warn user if in testnet mode

closes #5295
This commit is contained in:
SomberNight
2019-04-28 06:31:01 +02:00
parent 162d81c156
commit 99f9a1b484
3 changed files with 31 additions and 2 deletions

View File

@@ -198,6 +198,7 @@ class ElectrumGui(PrintError):
self.build_tray_menu()
# FIXME: Remove in favour of the load_wallet hook
run_hook('on_new_window', w)
w.warn_if_testnet()
w.warn_if_watching_only()
return w