]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView2.C
layout as string
[lyx.git] / src / BufferView2.C
index 9ed1e8720ee2b702b2ec4d1f04b010d462f49fd1..a07916d07e7f738cb69f727bba3dc5c5434b37ea 100644 (file)
@@ -601,7 +601,7 @@ int BufferView::unlockInset(UpdatableInset * inset)
                inset->insetUnlock(this);
                theLockingInset(0);
                // make sure we update the combo !
-               owner()->setLayout(getLyXText()->cursor.par()->getLayout());
+               owner()->setLayout(getLyXText()->cursor.par()->layout());
                finishUndo();
                return 0;
        } else if (inset && theLockingInset() &&