summaryrefslogtreecommitdiffstats
path: root/src/ui/interface.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-12-02 22:41:06 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-12-04 20:39:35 +0000
commit8bc273fe101cf980af17c9b0e26f7c2a18930cb7 (patch)
tree46244cab8faa8dcaa9920fda8019daeca18c1d93 /src/ui/interface.cpp
parentAdd a few useful lookup functions. (diff)
downloadinkscape-8bc273fe101cf980af17c9b0e26f7c2a18930cb7.tar.gz
inkscape-8bc273fe101cf980af17c9b0e26f7c2a18930cb7.zip
Added XRay
Diffstat (limited to 'src/ui/interface.cpp')
-rw-r--r--src/ui/interface.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/interface.cpp b/src/ui/interface.cpp
index 084174173..aa322250b 100644
--- a/src/ui/interface.cpp
+++ b/src/ui/interface.cpp
@@ -623,8 +623,12 @@ static gboolean checkitem_update(GtkWidget *widget, cairo_t * /*cr*/, gpointer u
}
else if (!strcmp(action->id, "ViewCmsToggle")) {
ison = dt->colorProfAdjustEnabled();
- } else if (!strcmp(action->id, "ViewSplitModeToggle")) {
+ }
+ else if (!strcmp(action->id, "ViewSplitModeToggle")) {
ison = dt->splitMode();
+ }
+ else if (!strcmp(action->id, "ViewXRayToggle")) {
+ ison = dt->xrayMode();
} else {
ison = getViewStateFromPref(view, pref);
}