]> git.lyx.org Git - lyx.git/commitdiff
Let the LyX logo show up when closing last document with the F&R dialog open.
authorTommaso Cucinotta <tommaso@lyx.org>
Fri, 8 Jan 2010 09:29:17 +0000 (09:29 +0000)
committerTommaso Cucinotta <tommaso@lyx.org>
Fri, 8 Jan 2010 09:29:17 +0000 (09:29 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32878 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiView.cpp

index d777ff6e7b0867f4c9d625a6ac3fbe327ff8b7a1..401c03f798e6a1b7475b74147dbea216f3d1e168 100644 (file)
@@ -2127,6 +2127,7 @@ bool GuiView::closeWorkArea(GuiWorkArea * wa)
 bool GuiView::closeBuffer()
 {
        GuiWorkArea * wa = currentMainWorkArea();
+       setCurrentWorkArea(wa);
        Buffer & buf = wa->bufferView().buffer();
        return wa && closeWorkArea(wa, !buf.parent());
 }