]> git.lyx.org Git - features.git/commitdiff
Fix bug 2869.
authorJürgen Spitzmüller <spitz@lyx.org>
Tue, 3 Oct 2006 10:08:15 +0000 (10:08 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Tue, 3 Oct 2006 10:08:15 +0000 (10:08 +0000)
* src/insets/insetvspace.C (doDispatch): set cursor properly on mouse
(button 3) press.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15207 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/insetvspace.C

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