summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2019-10-11 02:38:35 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-10-11 02:38:35 +0000
commitbee3f51dd8bdcf98782b7d3e87708df4b92f736c (patch)
tree2a4b747b1465067c1f57fc76d9f6065377848d59 /src/desktop.cpp
parentUpdate hu.po 100% (diff)
downloadinkscape-bee3f51dd8bdcf98782b7d3e87708df4b92f736c.tar.gz
inkscape-bee3f51dd8bdcf98782b7d3e87708df4b92f736c.zip
Fix https://gitlab.com/inkscape/inbox/issues/546.Some checkboxes in menu items do not reflect currently-selected modes (Mac, 1.0a)
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index 76d534f50..49fd1c393 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -576,12 +576,14 @@ bool SPDesktop::displayModeToggle()
break;
case Inkscape::RENDERMODE_VISIBLE_HAIRLINES:
_setDisplayMode(Inkscape::RENDERMODE_NORMAL);
+ verb = Inkscape::Verb::get(SP_VERB_VIEW_MODE_NORMAL);
if (verb) {
_menu_update.emit(verb->get_code(), setDisplayModeNormal());
}
break;
default:
_setDisplayMode(Inkscape::RENDERMODE_NORMAL);
+ verb = Inkscape::Verb::get(SP_VERB_VIEW_MODE_NORMAL);
if (verb) {
_menu_update.emit(verb->get_code(), setDisplayModeNormal());
}