mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
Fix assertions when there is no document open and the LFUN is handled by GuiView::dispatch().
This was forgotten in r33258. (also reported as bug #6484) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33275 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
971d1fb7a4
commit
01897c7013
@ -532,6 +532,8 @@ void LyXFunc::dispatch(FuncRequest const & cmd, DispatchResult & dr)
|
|||||||
|
|
||||||
// Let the current LyXView dispatch its own actions.
|
// Let the current LyXView dispatch its own actions.
|
||||||
lv->dispatch(cmd, dr);
|
lv->dispatch(cmd, dr);
|
||||||
|
if (dr.dispatched())
|
||||||
|
break;
|
||||||
|
|
||||||
BufferView * bv = lv->currentBufferView();
|
BufferView * bv = lv->currentBufferView();
|
||||||
LASSERT(bv, /**/);
|
LASSERT(bv, /**/);
|
||||||
|
Loading…
Reference in New Issue
Block a user