fix double click on collapsable label (from Andr�) [bug 1797]

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9650 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2005-02-20 16:33:08 +00:00
parent 8b7ea654e4
commit 3b1ba5eb66
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-02-20 André Pönitz <poenitz@gmx.net>
* insetcollapsable.C: Prevent problems on double-/
tripleclick on collapsable label (bug 1797).
2005-02-13 André Pönitz <poenitz@gmx.net>
* insettext.[Ch] (border_): new

View File

@ -340,6 +340,11 @@ void InsetCollapsable::doDispatch(LCursor & cur, FuncRequest & cmd)
}
break;
case LFUN_MOUSE_DOUBLE:
case LFUN_MOUSE_TRIPLE:
cur.undispatched();
break;
case LFUN_INSET_TOGGLE:
if (cmd.argument == "open")
setStatus(Open);