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
This commit is contained in:
Georg Baum 2007-04-05 15:55:04 +00:00
parent 11697004e8
commit b59c6f48a5

View 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;
}