1
0
mirror of https://github.com/gryf/pygtktalog.git synced 2026-02-15 13:35:54 +01:00

Bugfix for quit dialog

This commit is contained in:
2016-08-19 15:10:31 +02:00
parent 6507aa4774
commit 38cf76ee26

View File

@@ -44,10 +44,7 @@ class Qst(object):
self.dialog.format_secondary_text(secondarymsg) self.dialog.format_secondary_text(secondarymsg)
def run(self): def run(self):
retval = self.dialog.run() retval = self.dialog.run() == gtk.RESPONSE_OK
retval = False
if retval == gtk.RESPONSE_OK:
retval = True
self.dialog.destroy() self.dialog.destroy()
return retval return retval