(Alfredo): avoid crashing when dragging over the splash screen.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8236 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-12-12 10:31:09 +00:00
parent f02dbbd049
commit 93033296f0
2 changed files with 7 additions and 0 deletions

View File

@ -905,6 +905,8 @@ bool BufferView::Pimpl::workAreaDispatch(FuncRequest const & cmd)
{
switch (cmd.action) {
case LFUN_MOUSE_MOTION: {
if (!available())
return false;
FuncRequest cmd1(cmd, bv_);
UpdatableInset * inset = bv_->cursor().innerInset();
DispatchResult res;

View File

@ -1,3 +1,8 @@
2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
* BufferView_pimpl.C (workAreaDispatch): avoid crashing when
dragging over the splash screen.
2003-12-11 Angus Leeming <leeming@lyx.org>
* BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code