mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
Do not dispatch in BV when no buffer. Andre, please review.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5147 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d8f9ca8c9c
commit
5ef09542a2
@ -903,6 +903,10 @@ bool BufferView::Pimpl::dispatch(FuncRequest const & ev)
|
||||
<< " button[" << ev.button() << "]"
|
||||
<< endl;
|
||||
|
||||
// e.g. Qt mouse press when no buffer
|
||||
if (!buffer_)
|
||||
return false;
|
||||
|
||||
LyXTextClass const & tclass = buffer_->params.getLyXTextClass();
|
||||
|
||||
switch (ev.action) {
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-08-29 John Levon <levon@movementarian.org>
|
||||
|
||||
* BufferView_pimpl.C (dispatch): do not continue when
|
||||
no buffer
|
||||
|
||||
2002-08-28 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
|
||||
|
Loading…
Reference in New Issue
Block a user