diff --git a/src/LyXFunc.cpp b/src/LyXFunc.cpp index 3b1bf0ddaa..2a792272d3 100644 --- a/src/LyXFunc.cpp +++ b/src/LyXFunc.cpp @@ -532,6 +532,8 @@ void LyXFunc::dispatch(FuncRequest const & cmd, DispatchResult & dr) // Let the current LyXView dispatch its own actions. lv->dispatch(cmd, dr); + if (dr.dispatched()) + break; BufferView * bv = lv->currentBufferView(); LASSERT(bv, /**/);