http://www.lyx.org/trac/ticket/6064
We need to terminate unfinished key bindings before changing the RC (the key bindings, for that matter, which are changed on every prefs apply). If not, LyX tries to output *all* key sequences to the status bar, and crashes eventually. The attached patch fixes the crash for me. Objections? Jürgen
Index: src/LyXFunc.cpp =================================================================== --- src/LyXFunc.cpp (Revision 30759) +++ src/LyXFunc.cpp (Arbeitskopie) @@ -1618,6 +1618,9 @@ 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);