summaryrefslogtreecommitdiffstats
path: root/src/ui/desktop
diff options
context:
space:
mode:
authorNathan Lee <2431820-nathanal@users.noreply.gitlab.com>2019-09-21 00:37:01 +0000
committerNathan Lee <2431820-nathanal@users.noreply.gitlab.com>2019-09-21 00:37:01 +0000
commita8fe62a2b7f87d383c12f924e763979d63d2083a (patch)
tree66755bc1de0409636979c4e13426f50faf825882 /src/ui/desktop
parentArrange > Polar unaffected by y-axis direction (diff)
downloadinkscape-a8fe62a2b7f87d383c12f924e763979d63d2083a.tar.gz
inkscape-a8fe62a2b7f87d383c12f924e763979d63d2083a.zip
Make sure all conditions reached (minor touchup)
Diffstat (limited to 'src/ui/desktop')
-rw-r--r--src/ui/desktop/menubar.cpp6
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;
}