mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 21:55:29 +00:00
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
This commit is contained in:
parent
7e9aea6773
commit
090435cf27
@ -2127,6 +2127,7 @@ bool GuiView::closeWorkArea(GuiWorkArea * wa)
|
|||||||
bool GuiView::closeBuffer()
|
bool GuiView::closeBuffer()
|
||||||
{
|
{
|
||||||
GuiWorkArea * wa = currentMainWorkArea();
|
GuiWorkArea * wa = currentMainWorkArea();
|
||||||
|
setCurrentWorkArea(wa);
|
||||||
Buffer & buf = wa->bufferView().buffer();
|
Buffer & buf = wa->bufferView().buffer();
|
||||||
return wa && closeWorkArea(wa, !buf.parent());
|
return wa && closeWorkArea(wa, !buf.parent());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user