diff options
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/desktop/menubar.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/desktop/menubar.cpp b/src/ui/desktop/menubar.cpp index 69ca0037c..059d74c93 100644 --- a/src/ui/desktop/menubar.cpp +++ b/src/ui/desktop/menubar.cpp @@ -390,6 +390,12 @@ checkitem_update(Gtk::CheckMenuItem* menuitem, SPAction* action) } else if (id == "ToggleStatusbar") { active = getStateFromPref(dt, "statusbar"); + } else if (id == "FlipHorizontal") { + active = dt->is_flipped(SPDesktop::FLIP_HORIZONTAL); + + } else if (id == "FlipVertical") { + active = dt->is_flipped(SPDesktop::FLIP_VERTICAL); + } else { std::cerr << "checkitem_update: unhandled item: " << id << std::endl; } |
