diff options
| author | Bdale Garbee <bdale@gag.com> | 2013-08-07 22:37:45 -0600 |
|---|---|---|
| committer | Bdale Garbee <bdale@gag.com> | 2013-08-07 22:37:45 -0600 |
| commit | 717fcf5fd76d3c672c609f336c80a675a548c4c6 (patch) | |
| tree | cdb56ea5d00234b1ceca05957da1c557cbcb2deb /chirpui/mainapp.py | |
| parent | ef2d5b20453b00acc8c343c169138afd7940d3cc (diff) | |
Imported Upstream version 0.3.1upstream/0.3.1
Diffstat (limited to 'chirpui/mainapp.py')
| -rw-r--r-- | chirpui/mainapp.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chirpui/mainapp.py b/chirpui/mainapp.py index 27c4b3c..e3b2eb1 100644 --- a/chirpui/mainapp.py +++ b/chirpui/mainapp.py @@ -1128,7 +1128,11 @@ If you think that it is valid, you can select a radio model below to force an op def do_hide_unused(self, action): eset = self.get_current_editorset() - eset.editors["memedit"].set_hide_unused(action.get_active()) + if eset is None: + conf = config.get("memedit") + conf.set_bool("hide_unused", action.get_active()) + else: + eset.editors["memedit"].set_hide_unused(action.get_active()) def do_clearq(self): eset = self.get_current_editorset() |
