retry when passwords do not match
authorThomasV <thomasv@gitorious>
Wed, 5 Dec 2012 07:12:29 +0000 (08:12 +0100)
committerThomasV <thomasv@gitorious>
Wed, 5 Dec 2012 07:12:29 +0000 (08:12 +0100)
lib/gui_qt.py

index f8fbb1a..5714947 100644 (file)
@@ -1424,7 +1424,7 @@ class ElectrumWindow(QMainWindow):
 
         if new_password != new_password2:
             QMessageBox.warning(parent, _('Error'), _('Passwords do not match'), _('OK'))
-            return
+            return ElectrumWindow.change_password_dialog(wallet, parent) # Retry
 
         wallet.update_password(seed, password, new_password)