From 8bc273fe101cf980af17c9b0e26f7c2a18930cb7 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Sun, 2 Dec 2018 23:41:06 +0100 Subject: Added XRay --- src/ui/interface.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/ui/interface.cpp') 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); } -- cgit v1.2.3