Fix the fix for bug 2869.

* src/insets/insetvspace.C (doDispatch): open dialog on 
	mouse release (not press).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15216 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2006-10-03 14:50:41 +00:00
parent 8cc733b6a4
commit 172ab6c70f

View File

@ -70,11 +70,9 @@ void InsetVSpace::doDispatch(LCursor & cur, FuncRequest & cmd)
break;
}
case LFUN_MOUSE_PRESS: {
case LFUN_MOUSE_RELEASE:
InsetVSpaceMailer(*this).showDialog(&cur.bv());
cur.undispatched();
break;
}
default:
InsetBase::doDispatch(cur, cmd);