]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.cpp
partial fix for bug 6986: Use the right tex2lyx (at least if tex2lyx is installed)
[lyx.git] / src / BufferView.cpp
index d973bbf83b7215840131078ec0b690e2a500c876..b8971fc98e02d0e1c3f7d4c5dba44e03d4cf3398 100644 (file)
@@ -1879,13 +1879,14 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
        }
 
        default:
-               dispatched = false;
+               // OK, so try the Buffer itself...
+               buffer_.dispatch(cmd, dr);
+               dispatched = dr.dispatched();
                break;
        }
 
        buffer_.undo().endUndoGroup();
        dr.dispatched(dispatched);
-       return;
 }