]> git.lyx.org Git - features.git/commitdiff
Temporary fix for crash due to r24526. Jurgen, please do whatever needs doing.
authorRichard Heck <rgheck@comcast.net>
Sat, 19 Jul 2008 16:03:04 +0000 (16:03 +0000)
committerRichard Heck <rgheck@comcast.net>
Sat, 19 Jul 2008 16:03:04 +0000 (16:03 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25714 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView.cpp

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