Reviewers: ,


Please review this at http://codereview.tryton.org/597002/

Affected files:
  M tryton/gui/window/win_form.py


Index: tryton/gui/window/win_form.py
===================================================================
--- a/tryton/gui/window/win_form.py
+++ b/tryton/gui/window/win_form.py
@@ -389,6 +389,8 @@

     def close(self, widget):
         widget.emit_stop_by_name('close')
+        if self.but_cancel:
+            self.response(self.win, gtk.RESPONSE_CANCEL)
         return True

     def response(self, win, response_id):


--
--
[email protected] mailing list



Reply via email to