tkivy checkpoint dialog - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 98dcc7c094b761a50b8d14e2e3270908f0d7c3af
DIR parent 1b14a18b1addbc264800cd6961bdbe02ac3c7d2b
HTML Author: ThomasV <thomasv@electrum.org>
Date: Thu, 30 Mar 2017 07:05:19 +0200
kivy checkpoint dialog
Diffstat:
M gui/kivy/uix/dialogs/checkpoint_di… | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
DIR diff --git a/gui/kivy/uix/dialogs/checkpoint_dialog.py b/gui/kivy/uix/dialogs/checkpoint_dialog.py
t@@ -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: