From b59c6f48a5a15688e498fc1cd734d7eb21b92e3a Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Thu, 5 Apr 2007 15:55:04 +0000 Subject: [PATCH] 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 --- src/lyxfunc.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2