Fix test on button cancel to ensure it is still cancel
This commit is contained in:
1 parent
97a3ebbfa4
commit
fc8e871c3d
1 file changed
+1
-1
@@ -299,7 +299,7 @@ class WinForm(object):
|
||||
|
||||
if res == gtk.RESPONSE_OK:
|
||||
return True
|
||||
elif self.but_cancel:
|
||||
elif self.but_cancel.get_label == gtk.STOCK_CANCEL:
|
||||
self.screen.remove(delete=True)
|
||||
return False
|
||||
|
||||
|
||||
Reference in new issue
Block a user