diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-12-02 22:41:06 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-12-04 20:39:35 +0000 |
| commit | 8bc273fe101cf980af17c9b0e26f7c2a18930cb7 (patch) | |
| tree | 46244cab8faa8dcaa9920fda8019daeca18c1d93 /src/ui/interface.cpp | |
| parent | Add a few useful lookup functions. (diff) | |
| download | inkscape-8bc273fe101cf980af17c9b0e26f7c2a18930cb7.tar.gz inkscape-8bc273fe101cf980af17c9b0e26f7c2a18930cb7.zip | |
Added XRay
Diffstat (limited to 'src/ui/interface.cpp')
| -rw-r--r-- | src/ui/interface.cpp | 6 |
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); } |
