fix compiler warning

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24084 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2008-04-01 10:29:48 +00:00
parent 6e74e240ff
commit 73ad1dd688

View File

@ -507,8 +507,11 @@ void InsetCollapsable::doDispatch(Cursor & cur, FuncRequest & cmd)
cur.noUpdate();
cur.dispatched();
return;
case mouse_button::none:
case mouse_button::button2:
case mouse_button::button3:
case mouse_button::button4:
case mouse_button::button5:
// Nothing to do.
cur.undispatched();
return;