]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetExternal.cpp
Move handling of LFUN_MOUSE_RELEASE up to Inset and remove the edit() functions for...
[features.git] / src / insets / InsetExternal.cpp
index 7aed200a4730a0f30490726616da8006b5335731..e53ee5598782b77b9201f2b2d298799d864f9d40 100644 (file)
@@ -414,13 +414,6 @@ void InsetExternal::doDispatch(Cursor & cur, FuncRequest & cmd)
                        params2string(params(), cur.bv().buffer()));
                break;
 
-       case LFUN_MOUSE_RELEASE:
-               if (!cur.selection() && cmd.button() == mouse_button::button1)
-                       cur.bv().showDialog("external",
-                               params2string(params(), cur.bv().buffer()),
-                               this);
-               break;
-
        default:
                Inset::doDispatch(cur, cmd);
        }
@@ -445,12 +438,6 @@ bool InsetExternal::getStatus(Cursor & cur, FuncRequest const & cmd,
 }
 
 
-void InsetExternal::edit(Cursor & cur, bool, EntryDirection)
-{
-       showInsetDialog(&cur.bv());
-}
-
-
 bool InsetExternal::showInsetDialog(BufferView * bv) const
 {
        bv->showDialog("external", params2string(params(), bv->buffer()),