mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Fix bug 3850.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18740 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
69a81aecfa
commit
dbd31072c4
@ -403,11 +403,8 @@ void LyXView::updateLayoutChoice()
|
||||
}
|
||||
|
||||
BOOST_ASSERT(work_area_);
|
||||
if (work_area_->bufferView().cursor().inMathed())
|
||||
return;
|
||||
|
||||
string const & layout =
|
||||
work_area_->bufferView().cursor().paragraph().layout()->name();
|
||||
string const & layout = work_area_->bufferView().cursor().
|
||||
innerParagraph().layout()->name();
|
||||
|
||||
if (layout != current_layout) {
|
||||
toolbars_->setLayout(layout);
|
||||
|
Loading…
Reference in New Issue
Block a user