kivy checkpoint dialog

This commit is contained in:
ThomasV 2017-03-30 07:05:19 +02:00
parent 1b14a18b1a
commit 98dcc7c094
1 changed files with 2 additions and 1 deletions

View File

@ -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: