mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
Fix crash when closing a buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21685 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ba3fa9bd03
commit
e615380e42
@ -1165,6 +1165,10 @@ void GuiView::restartCursor()
|
|||||||
*/
|
*/
|
||||||
if (d.current_work_area_)
|
if (d.current_work_area_)
|
||||||
d.current_work_area_->startBlinkingCursor();
|
d.current_work_area_->startBlinkingCursor();
|
||||||
|
|
||||||
|
// Take this occasion to update the toobars and layout list.
|
||||||
|
updateLayoutList();
|
||||||
|
updateToolbars();
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
@ -338,8 +338,6 @@ void GuiWorkArea::processKeySym(KeySymbol const & key, KeyModifier mod)
|
|||||||
|
|
||||||
theLyXFunc().setLyXView(lyx_view_);
|
theLyXFunc().setLyXView(lyx_view_);
|
||||||
theLyXFunc().processKeySym(key, mod);
|
theLyXFunc().processKeySym(key, mod);
|
||||||
lyx_view_->updateLayoutList();
|
|
||||||
lyx_view_->updateToolbars();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user