[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 01/01: grc: fix missing actions when OK cho
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 01/01: grc: fix missing actions when OK chosen without apply first |
Date: |
Mon, 6 Apr 2015 16:08:35 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch master
in repository gnuradio.
commit 6651bc159c8971179354d9e65b42e0672a57ac8d
Author: Johnathan Corgan <address@hidden>
Date: Mon Apr 6 09:04:44 2015 -0700
grc: fix missing actions when OK chosen without apply first
---
grc/gui/PropsDialog.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/grc/gui/PropsDialog.py b/grc/gui/PropsDialog.py
index 083e42d..d706a0d 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)