]> git.lyx.org Git - features.git/commit
Properly notify insets after BufferView::doDispatch
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 5 Jun 2015 09:43:05 +0000 (11:43 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 8 Jun 2015 13:10:36 +0000 (15:10 +0200)
commit469a1f48a62a61d7ec5680a26f77fc7d687af56e
treee48a2437377aa905e3c8b443f9741c7e262a187a
parent8f169aa23de65c809374f324f035c4974630cd42
Properly notify insets after BufferView::doDispatch

Currently, insets are notified that the cursor entered or leaved them in Cursor::dispatch. This is not the cas efor lfuns which are handled in BufferView.

Adding the proper code allows to fix many bugs where previews are not updated correctly.

This also reverts cf4f79f8, which was the same fix for a particular case.

Fixes bug #6173.
src/BufferView.cpp
src/Cursor.cpp