Browse Source

follow-up to bc4fcfbebd

2.9.x
ThomasV 8 years ago
parent
commit
4c2deb6d2b
  1. 4
      gui/kivy/main_window.py

4
gui/kivy/main_window.py

@ -841,7 +841,7 @@ class ElectrumWindow(App):
if self.wallet.has_password():
self.password_dialog(msg, f, args)
else:
f(*args, None)
f(*(args + (None,)))
def delete_wallet(self):
from uix.dialogs.question import Question
@ -918,7 +918,7 @@ class ElectrumWindow(App):
def password_dialog(self, msg, f, args):
def callback(pw):
Clock.schedule_once(lambda _: f(*args, pw), 0.1)
Clock.schedule_once(lambda _: f(*(args + (pw,))), 0.1)
if self._password_dialog is None:
from uix.dialogs.password_dialog import PasswordDialog
self._password_dialog = PasswordDialog()

Loading…
Cancel
Save