summaryrefslogtreecommitdiffstats
path: root/src/ui/interface.cpp
diff options
context:
space:
mode:
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);
}