mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix crash with multiple windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24959 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
cd1cc0b647
commit
a2db0e8ed4
@ -440,6 +440,8 @@ TocModels & GuiView::tocModels()
|
||||
|
||||
void GuiView::setFocus()
|
||||
{
|
||||
// Make sure LyXFunc points to the correct view.
|
||||
theLyXFunc().setLyXView(this);
|
||||
if (d.current_work_area_)
|
||||
d.current_work_area_->setFocus();
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user