From: Tommaso Cucinotta Date: Fri, 8 Jan 2010 09:29:17 +0000 (+0000) Subject: Let the LyX logo show up when closing last document with the F&R dialog open. X-Git-Tag: 2.0.0~4507 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=090435cf27ee10d7543c14513ccc77aa91e9eb07;p=lyx.git Let the LyX logo show up when closing last document with the F&R dialog open. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32878 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index d777ff6e7b..401c03f798 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -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()); }