diff options
| author | Nathan Lee <2431820-nathanal@users.noreply.gitlab.com> | 2019-09-21 00:37:01 +0000 |
|---|---|---|
| committer | Nathan Lee <2431820-nathanal@users.noreply.gitlab.com> | 2019-09-21 00:37:01 +0000 |
| commit | a8fe62a2b7f87d383c12f924e763979d63d2083a (patch) | |
| tree | 66755bc1de0409636979c4e13426f50faf825882 /src | |
| parent | Arrange > Polar unaffected by y-axis direction (diff) | |
| download | inkscape-a8fe62a2b7f87d383c12f924e763979d63d2083a.tar.gz inkscape-a8fe62a2b7f87d383c12f924e763979d63d2083a.zip | |
Make sure all conditions reached (minor touchup)
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; } |
