diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2015-04-06 09:04:44 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2015-04-06 09:04:44 -0700 |
commit | 6651bc159c8971179354d9e65b42e0672a57ac8d (patch) | |
tree | 35e778853f68c944a4066808e672ed325590840f | |
parent | 9f3427e81df8c8843298fa50f57899a0ca7833de (diff) |
grc: fix missing actions when OK chosen without apply first
-rw-r--r-- | grc/gui/PropsDialog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/gui/PropsDialog.py b/grc/gui/PropsDialog.py index 083e42d026..d706a0d7b7 100644 --- a/grc/gui/PropsDialog.py +++ b/grc/gui/PropsDialog.py @@ -201,7 +201,7 @@ class PropsDialog(gtk.Dialog): return False # forward the keypress def _handle_response(self, widget, response): - if response == gtk.RESPONSE_APPLY: + if response in (gtk.RESPONSE_APPLY, gtk.RESPONSE_ACCEPT): for tab, label, vbox in self._params_boxes: vbox.forall(lambda c: c.apply_pending_changes()) self.set_response_sensitive(gtk.RESPONSE_APPLY, False) |