diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index a48f898c64..ab9ed91b2b 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -693,7 +693,7 @@ void GuiView::on_lastWorkAreaRemoved() return; #endif } - QTimer::singleShot(0, this, SLOT(close())); + close(); }