1
0

Qt: remove the 'local watchtower' option from GUI.

It is not realistic to expect Electrum to be used as a watchtower
in GUI mode, and possibly counter-productive (may set wrong
expectations).

A proper watchtower should be configured as a daemon. The
documentation will be updated to reflect this change.
This commit is contained in:
ThomasV
2021-03-28 10:08:15 +02:00
parent 345c2b4295
commit a4210ce5e7
5 changed files with 10 additions and 29 deletions

View File

@@ -370,8 +370,6 @@ class ElectrumGui(Logger):
with self._num_wizards_lock:
if self._num_wizards_in_progress > 0 or len(self.windows) > 0:
return
if self.config.get('persist_daemon'):
return
self.app.quit()
self.app.setQuitOnLastWindowClosed(False) # so _we_ can decide whether to quit
self.app.lastWindowClosed.connect(quit_after_last_window)