tqt settings: restart needed after toggling log_to_file - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit db9a9bbf25a09908f384eafd7a61afcb6cc4b375
DIR parent 6ec1578a90916436b3bfabe90cafd9bfc804a332
HTML Author: SomberNight <somber.night@protonmail.com>
Date: Tue, 21 May 2019 20:57:29 +0200
qt settings: restart needed after toggling log_to_file
Diffstat:
M electrum/gui/qt/main_window.py | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py
t@@ -3017,6 +3017,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
filelogging_cb.setChecked(bool(self.config.get('log_to_file', False)))
def on_set_filelogging(v):
self.config.set_key('log_to_file', v == Qt.Checked, save=True)
+ self.need_restart = True
filelogging_cb.stateChanged.connect(on_set_filelogging)
filelogging_cb.setToolTip(_('Debug logs can be persisted to disk. These are useful for troubleshooting.'))
gui_widgets.append((filelogging_cb, None))