]> git.lyx.org Git - features.git/commit
Fix the assertion assert introduced in r34348 which got fired when eg. deselecting...
authorVincent van Ravesteijn <vfr@lyx.org>
Sat, 1 May 2010 23:04:08 +0000 (23:04 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sat, 1 May 2010 23:04:08 +0000 (23:04 +0000)
commit9c8e7429fabd3b3c39a3374667ae624c3dbdcd01
tree44c9e70b9432af20451b7fe997e1f3be18c2b6bd
parent60466235fe8981fbe359bcc129a919bd26efd3b1
Fix the assertion assert introduced in r34348 which got fired when eg. deselecting an InsetCommand:

- we have to have a copy constructor in InsetCommand to clear the mouse_hover_ map and not to copy it,
- there is no need to have mouse_hover_() in the initialisation list,
- there is no need to copy the auto_open_ map.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34353 a592a061-630c-0410-9148-cb99ea01b6c8
src/insets/InsetCollapsable.cpp
src/insets/InsetCommand.cpp
src/insets/InsetCommand.h