From 35200557e4c00516cc2202c3bb55b3d7aaf7ce56 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 5 May 2014 09:20:19 +0200 Subject: [PATCH] sleep inside for loop, so that gui remains responsive --- gui/qt/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index e233b0b0..a59920f5 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -1906,8 +1906,8 @@ class ElectrumWindow(QMainWindow): private_keys = {} addresses = self.wallet.addresses(True) def privkeys_thread(): - time.sleep(0.1) for addr in addresses: + time.sleep(0.1) private_keys[addr] = "\n".join(self.wallet.get_private_key(addr, password)) d.emit(SIGNAL('computing_privkeys')) d.emit(SIGNAL('show_privkeys'))