]> git.lyx.org Git - features.git/commitdiff
GuiView::on_lastWorkAreaRemoved(): the window closing doesn't have to be delayed.
authorAbdelrazak Younes <younes@lyx.org>
Thu, 19 Jun 2008 15:55:34 +0000 (15:55 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 19 Jun 2008 15:55:34 +0000 (15:55 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25326 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiView.cpp

index a48f898c6452f4393889809a95112e81bb33ff73..ab9ed91b2b53762f7123cd8a6309b9b00401a53e 100644 (file)
@@ -693,7 +693,7 @@ void GuiView::on_lastWorkAreaRemoved()
                return; 
 #endif
        }
-       QTimer::singleShot(0, this, SLOT(close()));
+       close();
 }