1
0

call wallet.wait_until_synchronized before commands

This commit is contained in:
ThomasV
2015-10-29 05:01:06 +01:00
parent b70f8c888a
commit 079cb311ec
5 changed files with 16 additions and 18 deletions

View File

@@ -1357,8 +1357,8 @@ class ElectrumGui():
dialog.show()
def recover_thread( wallet, dialog ):
wallet.restore(lambda x:x)
GObject.idle_add( dialog.destroy )
wallet.wait_until_synchronized()
GObject.idle_add(dialog.destroy)
thread.start_new_thread( recover_thread, ( wallet, dialog ) )
r = dialog.run()