commit 98dcc7c094b761a50b8d14e2e3270908f0d7c3af parent 1b14a18b1addbc264800cd6961bdbe02ac3c7d2b Author: ThomasV <thomasv@electrum.org> Date: Thu, 30 Mar 2017 07:05:19 +0200 kivy checkpoint dialog Diffstat:
M | gui/kivy/uix/dialogs/checkpoint_dialog.py | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gui/kivy/uix/dialogs/checkpoint_dialog.py b/gui/kivy/uix/dialogs/checkpoint_dialog.py @@ -98,7 +98,8 @@ class CheckpointDialog(Factory.Popup): try: new_height = int(self.ids.height_input.text) except: - new_height = 0 + new_height = self.cp_height + self.ids.height_input.text = '%d'%new_height if new_height == self.cp_height: return try: