Browse Source

(minor) follow-up ed6eea9161

patch-4
ThomasV 4 years ago
parent
commit
4b0f439301
  1. 4
      electrum/gui/kivy/main_window.py

4
electrum/gui/kivy/main_window.py

@ -1007,12 +1007,12 @@ class ElectrumWindow(App, Logger):
return
now = time.time()
if self.wallet and self.has_pin_code() and now - self.pause_time > 5*60:
def on_success():
def on_success(x):
self.resume_dialog = None
d = PincodeDialog(
self,
check_password=self.check_pin_code,
on_success=None,
on_success=on_success,
on_failure=self.stop)
self.resume_dialog = d
d.open()

Loading…
Cancel
Save