Andre Poenitz wrote: > Missing check for bv_->buffer() ins workAreaDispatch.
Ah ja. Like this? (fixes the crash). Jürgen.
Index: src/BufferView_pimpl.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/BufferView_pimpl.C,v retrieving revision 1.538 diff -u -r1.538 BufferView_pimpl.C --- src/BufferView_pimpl.C 7 Apr 2004 20:20:10 -0000 1.538 +++ src/BufferView_pimpl.C 10 Apr 2004 07:59:34 -0000 @@ -858,7 +858,7 @@ // LFUN_FILE_OPEN generated by drag-and-drop. FuncRequest cmd = cmd0; - // handle drag&deop + // handle drag&drop if (cmd.action == LFUN_FILE_OPEN) { owner_->dispatch(cmd); return true; @@ -867,7 +867,8 @@ cmd.y += bv_->top_y(); //lyxerr << "*** workAreaDispatch: request: " << cmd << std::endl; LCursor cur(*bv_); - cur.push(bv_->buffer()->inset()); + if (bv_->buffer()) + cur.push(bv_->buffer()->inset()); cur.selection() = bv_->cursor().selection(); // Doesn't go through lyxfunc, so we need to update