From: Georg Baum Date: Thu, 5 Apr 2007 15:55:04 +0000 (+0000) Subject: Probably fix bug 3360: X-Git-Tag: 1.6.10~10329 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b59c6f48a5a15688e498fc1cd734d7eb21b92e3a;p=features.git Probably fix bug 3360: * 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 --- diff --git a/src/lyxfunc.C b/src/lyxfunc.C index fe3af75a66..7d081dea7b 100644 --- a/src/lyxfunc.C +++ b/src/lyxfunc.C @@ -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; }