diff options
-rw-r--r-- | ccm/Widgets.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ccm/Widgets.py b/ccm/Widgets.py index 51fe828..961d194 100644 --- a/ccm/Widgets.py +++ b/ccm/Widgets.py @@ -1193,7 +1193,7 @@ class MatchButton(gtk.Button): dlg.show_all () response = dlg.run () - dlg.destroy () + dlg.hide () if response == gtk.RESPONSE_OK: type = type_chooser.get_active_text () value = entry.get_text () @@ -1201,6 +1201,8 @@ class MatchButton(gtk.Button): invert = check.get_active () self.generate_match (type, value, relation, invert) + dlg.destroy () + class FileButton (gtk.Button): __gsignals__ = {"changed" : (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, |