Changeset 1ce1f29483cd…
Parent c6442e9f9006…
by
Changes to one file · Browse files at 1ce1f29483cd Showing diff from parent c6442e9f9006 Diff from another changeset...
@@ -540,8 +540,9 @@ ret = gdialog.Confirm(_('Confirm quit without saving?'), [], self,
_('Yes to abandon changes, No to continue')).run()
if ret != gtk.RESPONSE_YES:
- self.emit_stop_by_name('response')
- return True
+ if len(args) != 0:
+ self.emit_stop_by_name('response')
+ return True
return False
def focus_field(self, focusfield):
|
Loading...