]> git.lyx.org Git - features.git/commitdiff
Probably fix bug 3360:
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Thu, 5 Apr 2007 15:55:04 +0000 (15:55 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Thu, 5 Apr 2007 15:55:04 +0000 (15:55 +0000)
* src/lyxfunc.C
(LyXFunc::dispatch): Call LFUN_DIALOG_SHOW_NEW_INSET instead of
LFUN_DIALOG_SHOW, since the former seems to be connected to the last
open inset.

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

src/lyxfunc.C

index fe3af75a6625a0212b7e597e98a640ab7e1e0549..7d081dea7bf7061f1525f759c099440029d70912 100644 (file)
@@ -1386,7 +1386,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
                                FuncRequest fr(LFUN_INSET_INSERT, icstr);
                                dispatch(fr);
                        } else
-                               dispatch(FuncRequest(LFUN_DIALOG_SHOW, "citation"));
+                               dispatch(FuncRequest(LFUN_DIALOG_SHOW_NEW_INSET, "citation"));
                        break;
                }