]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiExternal.cpp
basic context menu for InsetExternal.
[features.git] / src / frontends / qt4 / GuiExternal.cpp
index 8bbf4f5313af617c0cfa6506b305c3228960cc47..9bcf779077c4d9abff6d5a2bf576b94ea046c319 100644 (file)
@@ -109,8 +109,6 @@ GuiExternal::GuiExternal(GuiView & lv)
                this, SLOT(change_adaptor()));
        connect(browsePB, SIGNAL(clicked()),
                this, SLOT(browseClicked()));
-       connect(editPB, SIGNAL(clicked()),
-               this, SLOT(editClicked()));
        connect(externalCO, SIGNAL(activated(QString)),
                this, SLOT(templateChanged()));
        connect(extraED, SIGNAL(textChanged(QString)),
@@ -166,7 +164,6 @@ GuiExternal::GuiExternal(GuiView & lv)
 
        bc().addReadOnly(fileED);
        bc().addReadOnly(browsePB);
-       bc().addReadOnly(editPB);
        bc().addReadOnly(externalCO);
        bc().addReadOnly(draftCB);
        bc().addReadOnly(displayscaleED);
@@ -268,12 +265,6 @@ void GuiExternal::change_adaptor()
 }
 
 
-void GuiExternal::editClicked()
-{
-       editExternal();
-}
-
-
 void GuiExternal::extraChanged(const QString & text)
 {
        extra_[extraFormatCO->currentText()] = text;
@@ -698,14 +689,6 @@ void GuiExternal::dispatchParams()
 }
 
 
-void GuiExternal::editExternal()
-{
-       applyView();
-       string const lfun = InsetExternal::params2string(params_, buffer());
-       dispatch(FuncRequest(LFUN_INSET_EDIT, lfun));
-}
-
-
 static QStringList templateFilters(QString const & template_name)
 {
        /// Determine the template file extension