From dabb534a369efe529cd57be714005efd8e046610 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Tue, 7 Apr 2015 22:59:34 -0400 Subject: [PATCH] Simplify previous commit The brackets are not necessary. --- src/frontends/qt4/GuiView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 65fe9195e2..f94a709c87 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -1922,12 +1922,12 @@ bool GuiView::getStatus(FuncRequest const & cmd, FuncStatus & flag) break; case LFUN_BUFFER_NEXT: - case LFUN_BUFFER_PREVIOUS: { + case LFUN_BUFFER_NEXT: + case LFUN_BUFFER_PREVIOUS: // because we cycle, it doesn't matter whether on first or last if (d.currentTabWorkArea()->count() <= 1) enable = false; break; - } case LFUN_BUFFER_SWITCH: // toggle on the current buffer, but do not toggle off // the other ones (is that a good idea?)