mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
potential bug fix, reported by Richard:
Open LyX. Open a new window. Open a new window. Close the first. Close the second. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26689 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
78d8b107fb
commit
d8a6c1fc1e
@ -518,6 +518,7 @@ void GuiView::closeEvent(QCloseEvent * close_event)
|
||||
// it can happen that this event arrives without selecting the view,
|
||||
// e.g. when clicking the close button on a background window.
|
||||
theLyXFunc().setLyXView(this);
|
||||
guiApp->setCurrentView(this);
|
||||
|
||||
while (Buffer * b = buffer()) {
|
||||
if (b->parent()) {
|
||||
|
Loading…
Reference in New Issue
Block a user