diff --git a/gui/kivy/uix/dialogs/checkpoint_dialog.py b/gui/kivy/uix/dialogs/checkpoint_dialog.py index 8f06a88b..5ae413cf 100644 --- 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: