git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26090 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-08-07 07:45:52 +00:00
parent d2a29a8c21
commit 0a342b3be1

View File

@ -529,7 +529,8 @@ void InsetCollapsable::doDispatch(Cursor & cur, FuncRequest & cmd)
break;
case LFUN_MOUSE_RELEASE:
if (geometry() == NoButton || !hitButton(cmd)) {
if (geometry() == NoButton
|| (geometry() != ButtonOnly && !hitButton(cmd))) {
// The mouse click has to be within the inset!
InsetText::doDispatch(cur, cmd);
break;