twizard hww: move devmgr.scan_devices() away from GUI thread - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 7c830cb22181e26c77d7819175e40d0c756618ce DIR parent 7a4acb05f2c9e21a738cffde712b5d8cd6eca783 HTML Author: SomberNight <somber.night@protonmail.com> Date: Wed, 8 Apr 2020 18:54:11 +0200 wizard hww: move devmgr.scan_devices() away from GUI thread Diffstat: M electrum/base_wizard.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/electrum/base_wizard.py b/electrum/base_wizard.py t@@ -280,7 +280,8 @@ class BaseWizard(Logger): # scan devices try: - scanned_devices = devmgr.scan_devices() + scanned_devices = self.run_task_without_blocking_gui(task=devmgr.scan_devices, + msg=_("Scanning devices...")) except BaseException as e: self.logger.info('error scanning devices: {}'.format(repr(e))) debug_msg = ' {}:\n {}'.format(_('Error scanning devices'), e)