]> git.lyx.org Git - features.git/commitdiff
Fix the fix for bug 2869.
authorJürgen Spitzmüller <spitz@lyx.org>
Tue, 3 Oct 2006 14:50:41 +0000 (14:50 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Tue, 3 Oct 2006 14:50:41 +0000 (14:50 +0000)
* 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

src/insets/insetvspace.C

index c8203c252cba1466dcb2b5e1961b5093a36dddc5..8a80dd3853506124e7e8f473acffb08533be489b 100644 (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);