mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-24 17:09:41 +00:00
Fix crash reported by John Kennan.
We are missing the updateBuffer() call when we go through mouseEventDispatch(). A consequence of the massive updateBuffer() refactoring. Wish it had been caught before... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38669 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0e04ece111
commit
1a724c2c3c
@ -2086,6 +2086,11 @@ void BufferView::mouseEventDispatch(FuncRequest const & cmd0)
|
||||
// Do we have a selection?
|
||||
theSelection().haveSelection(cursor().selection());
|
||||
|
||||
if (cur.needBufferUpdate()) {
|
||||
cur.clearBufferUpdate();
|
||||
buffer().updateBuffer();
|
||||
}
|
||||
|
||||
// If the command has been dispatched,
|
||||
if (cur.result().dispatched() || cur.result().screenUpdate())
|
||||
processUpdateFlags(cur.result().screenUpdate());
|
||||
|
Loading…
x
Reference in New Issue
Block a user