]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView2.C
Change the latex font names in order to match the names of type1inst.
[lyx.git] / src / BufferView2.C
index ad4d36297c9b9d22efcd04972b1a2a0f9ddec25a..892d36e22e68df11a66c015e61bcf72f1b69eaf6 100644 (file)
@@ -520,7 +520,7 @@ bool BufferView::lockInset(UpdatableInset * inset)
                                }
                                if ((*it)->getInsetFromID(id)) {
                                        text->setCursorIntern(this, par, it.getPos());
-                                       theLockingInset(static_cast<UpdatableInset *>(*it));
+                                       (*it)->edit(this);
                                        return theLockingInset()->lockInsetInInset(this, inset);
                                }
                        }