]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetVSpace.cpp
Move handling of LFUN_MOUSE_RELEASE up to Inset and remove the edit() functions for...
[features.git] / src / insets / InsetVSpace.cpp
index 0042f981d1792e86e4bb95c104638a51949adfec..a0249720fa661b7338e27abc1e8a7eb4b66b4dfa 100644 (file)
@@ -66,12 +66,6 @@ void InsetVSpace::doDispatch(Cursor & cur, FuncRequest & cmd)
                break;
        }
 
-       case LFUN_MOUSE_RELEASE:
-               if (!cur.selection() && cmd.button() == mouse_button::button1)
-                       cur.bv().showDialog("vspace", params2string(space()), 
-                               const_cast<InsetVSpace *>(this));
-               break;
-
        default:
                Inset::doDispatch(cur, cmd);
                break;
@@ -103,12 +97,6 @@ bool InsetVSpace::getStatus(Cursor & cur, FuncRequest const & cmd,
 }
 
 
-void InsetVSpace::edit(Cursor & cur, bool, EntryDirection)
-{
-       showInsetDialog(&cur.bv());
-}
-
-
 bool InsetVSpace::showInsetDialog(BufferView * bv) const
 {
        bv->showDialog("vspace", params2string(space()),