]> git.lyx.org Git - features.git/blobdiff - src/text2.C
All changes I made to have text-insets working. Look at the Changelog
[features.git] / src / text2.C
index d951b56c63a4b32992e8ed585d1764b7516125a2..d151ef37dec59e69ed7ddddf3f31a3ba8d4cf6a4 100644 (file)
@@ -348,7 +348,7 @@ void LyXText::ToggleFootnote()
 void LyXText::OpenStuff()
 {
        if (cursor.pos == 0 && cursor.par->bibkey){
-               cursor.par->bibkey->Edit(owner_, 0, 0);
+               cursor.par->bibkey->Edit(owner_, 0, 0, 0);
        }
        else if (cursor.pos < cursor.par->Last() 
                 && cursor.par->GetChar(cursor.pos) == LyXParagraph::META_INSET
@@ -357,7 +357,7 @@ void LyXText::OpenStuff()
                        ->Set(cursor.par->GetInset(cursor.pos)->EditMessage());
                if (cursor.par->GetInset(cursor.pos)->Editable() != 2)
                        SetCursorParUndo();
-               cursor.par->GetInset(cursor.pos)->Edit(owner_, 0, 0);
+               cursor.par->GetInset(cursor.pos)->Edit(owner_, 0, 0, 0);
        } else {
                ToggleFootnote();
        }