]> git.lyx.org Git - lyx.git/commitdiff
A fix from Ozgur Ugras BARAN:
authorAbdelrazak Younes <younes@lyx.org>
Mon, 2 Oct 2006 15:40:39 +0000 (15:40 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 2 Oct 2006 15:40:39 +0000 (15:40 +0000)
A trivial (looking) patch to correct inset behavior, which is broken
with revision 15068. Without this patch, it is not possible to modify
an existing inset. All modifications processed as new index. (see
lyxfunc.C:1420)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15199 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/LyXView.C

index f6a2b9302e8f700a73428494f141a1fa66197264..0eeaacee0381cc4d5f2de6a1ea446a8c58aae38b 100644 (file)
@@ -252,7 +252,7 @@ void LyXView::showDialogWithData(string const & name,
 void LyXView::showInsetDialog(string const & name, string const & data,
                                                          InsetBase * inset)
 {
-       getDialogs().show(name, data, 0);
+       getDialogs().show(name, data, inset);
 }