diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index f17ab774c3..76763561db 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -2886,7 +2886,7 @@ bool GuiView::closeBuffer(Buffer & buf) bool GuiView::closeTabWorkArea(TabWorkArea * twa) { while (twa == d.currentTabWorkArea()) { - twa->setCurrentIndex(twa->count()-1); + twa->setCurrentIndex(twa->count() - 1); GuiWorkArea * wa = twa->currentWorkArea(); Buffer & b = wa->bufferView().buffer();