tsleep inside for loop, so that gui remains responsive - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 35200557e4c00516cc2202c3bb55b3d7aaf7ce56 DIR parent 8534ec603f285ee60f19bfabfa98b3cc3ce14fbe HTML Author: ThomasV <thomasv@gitorious> Date: Mon, 5 May 2014 09:20:19 +0200 sleep inside for loop, so that gui remains responsive Diffstat: M gui/qt/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -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'))