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, 2 insertions, 4 deletions
diff --git a/src/ui/interface.cpp b/src/ui/interface.cpp
index a760cd9d1..084174173 100644
--- a/src/ui/interface.cpp
+++ b/src/ui/interface.cpp
@@ -623,11 +623,9 @@ 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 {
+ } else {
ison = getViewStateFromPref(view, pref);
}
} else if (pref) {