From 090435cf27ee10d7543c14513ccc77aa91e9eb07 Mon Sep 17 00:00:00 2001 From: Tommaso Cucinotta Date: Fri, 8 Jan 2010 09:29:17 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/GuiView.cpp | 1 + 1 file changed, 1 insertion(+) 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()); } -- 2.39.5