Temporary fix for crash due to r24526. Jurgen, please do whatever needs doing.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25714 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-07-19 16:03:04 +00:00
parent 87ee3d8c43
commit e40196edbc

View File

@ -1072,9 +1072,12 @@ bool BufferView::dispatch(FuncRequest const & cmd)
if (!inset || !cur.result().dispatched()) if (!inset || !cur.result().dispatched())
cur.dispatch(cmd); cur.dispatch(cmd);
// FIXME I'm adding the last break to solve a crash,
// but that is obviously not right.
if (!cur.result().dispatched()) if (!cur.result().dispatched())
// It did not work too; no action needed. // It did not work too; no action needed.
break; break;
break;
} }
case LFUN_PARAGRAPH_GOTO: { case LFUN_PARAGRAPH_GOTO: {