1
0
mirror of https://github.com/gryf/pygtktalog.git synced 2026-02-01 22:05:46 +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)
def run(self):
retval = self.dialog.run()
retval = False
if retval == gtk.RESPONSE_OK:
retval = True
retval = self.dialog.run() == gtk.RESPONSE_OK
self.dialog.destroy()
return retval