From 1769e99ff8cfae073a22c03e196c6f9a4c4d9ced Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Sat, 1 Dec 2018 17:59:23 +0100 Subject: Fix coding style --- src/ui/interface.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/ui') 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) { -- cgit v1.2.3