]> git.lyx.org Git - features.git/commit
Fix bug 5161: Context menu does not respect selection
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 12 Aug 2008 10:17:31 +0000 (10:17 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 12 Aug 2008 10:17:31 +0000 (10:17 +0000)
commit2d76d3a0c6459ffc8206afad8459988e855e8c1b
treed25d8642294694edac0cafe4b583c4b99ce47eee
parent86021437754916198229d0c2a52a5ab9572b274d
Fix bug 5161: Context menu does not respect selection
http://bugzilla.lyx.org/show_bug.cgi?id=5161

* Text3.cpp (dispatch/LFUN_MOUSE_PRESS): compare the mouse position to
the bufferview cursor, since cur is already set to the place we
want; reverse the test for being inside of the selection.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26121 a592a061-630c-0410-9148-cb99ea01b6c8
src/Text3.cpp