* LyXFunc.cpp:

- make sure there are no pending key sequences when applying the prefs,
	  since the key bindings are changed and this will make the status bar
	  messages go crazy and crash (bug 6064).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30769 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2009-07-25 06:16:46 +00:00
parent 63f72c39be
commit a84aa658f6

View File

@ -1567,6 +1567,9 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
break;
case LFUN_LYXRC_APPLY: {
// reset active key sequences, since the bindings
// are updated (bug 6064)
keyseq.reset();
LyXRC const lyxrc_orig = lyxrc;
istringstream ss(argument);