mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23780 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f1443b9db6
commit
c17a8122cf
@ -761,7 +761,7 @@ void GuiLayoutBox::updateContents(bool reset)
|
||||
// or we've moved from one inset to another
|
||||
DocumentClass const * text_class = &buffer->params().documentClass();
|
||||
Inset const * inset =
|
||||
owner_.view()->cursor().innerParagraph().inInset();
|
||||
owner_.view()->cursor().innerParagraph().inInset();
|
||||
if (!reset && text_class_ == text_class && inset_ == inset) {
|
||||
set(owner_.view()->cursor().innerParagraph().layout().name());
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user