GuiView::on_lastWorkAreaRemoved(): the window closing doesn't have to be delayed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25326 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-06-19 15:55:34 +00:00
parent fb47b716d7
commit 4441cd8a4a

View File

@ -693,7 +693,7 @@ void GuiView::on_lastWorkAreaRemoved()
return;
#endif
}
QTimer::singleShot(0, this, SLOT(close()));
close();
}