avoid crashing when dragging over the splash screen:

Index: BufferView_pimpl.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/BufferView_pimpl.C,v
retrieving revision 1.474
diff -u -r1.474 BufferView_pimpl.C
--- BufferView_pimpl.C  10 Dec 2003 09:45:25 -0000      1.474
+++ BufferView_pimpl.C  12 Dec 2003 04:15:51 -0000
@@ -905,6 +905,8 @@
 {
        switch (cmd.action) {
        case LFUN_MOUSE_MOTION: {
+               if (!available())
+                       return false;
                FuncRequest cmd1(cmd, bv_);
                UpdatableInset * inset = bv_->cursor().innerInset();
                DispatchResult res;


Alfredo


Reply via email to