diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/desktop/menubar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/desktop/menubar.cpp b/src/ui/desktop/menubar.cpp index 0e19807e6..6fac675c7 100644 --- a/src/ui/desktop/menubar.cpp +++ b/src/ui/desktop/menubar.cpp @@ -83,10 +83,10 @@ static void set_menuitems(unsigned int emitting_verb, bool value) lastverb = emitting_verb; Gtk::CheckMenuItem *check = dynamic_cast<Gtk::CheckMenuItem *>(menu.first.second); Gtk::RadioMenuItem *radio = dynamic_cast<Gtk::RadioMenuItem *>(menu.first.second); - if (check) { - check->property_active() = value; - } else if (radio) { + if (radio) { radio->property_active() = value; + } else if (check) { + check->property_active() = value; } lastverb = -1; } |
