]> git.lyx.org Git - features.git/commit
Fix bug 3301 (selecting buttons (e.g. a citation) with the mouse opens dialog)
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 23 May 2007 10:35:57 +0000 (10:35 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 23 May 2007 10:35:57 +0000 (10:35 +0000)
commite499a5428e56e3e46c05da69a860012f92f25a7b
tree81fbd65f3ab16b8948fe5ff3fabf74e44a8d4ac8
parent68b3ad672d1e2bc30b543f2671141e5b291ca900
Fix bug 3301 (selecting buttons (e.g. a citation) with the mouse opens dialog)

* insets/InsetExternal.cpp (doDispatch):
* insets/InsetGraphics.cpp (doDispatch):
* insets/InsetInclude.cpp (doDispatch):
* insets/InsetCommand.cpp (doDispatch):
* insets/InsetVSpace.cpp (doDispatch): do not open dialog if a
selection is set.

* insets/InsetRef.cpp (doDispatch):
* insets/InsetCharStyle.cpp (doDispatch): act on mouse release, not
mouse press.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18473 a592a061-630c-0410-9148-cb99ea01b6c8
src/insets/InsetCharStyle.cpp
src/insets/InsetCommand.cpp
src/insets/InsetExternal.cpp
src/insets/InsetGraphics.cpp
src/insets/InsetInclude.cpp
src/insets/InsetRef.cpp
src/insets/InsetVSpace.cpp