kivy checkpoint dialog
This commit is contained in:
@@ -98,7 +98,8 @@ class CheckpointDialog(Factory.Popup):
|
|||||||
try:
|
try:
|
||||||
new_height = int(self.ids.height_input.text)
|
new_height = int(self.ids.height_input.text)
|
||||||
except:
|
except:
|
||||||
new_height = 0
|
new_height = self.cp_height
|
||||||
|
self.ids.height_input.text = '%d'%new_height
|
||||||
if new_height == self.cp_height:
|
if new_height == self.cp_height:
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user