]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiHyperlink.cpp
Patch from Vincent van Ravesteijn.
[lyx.git] / src / frontends / qt4 / GuiHyperlink.cpp
index 488321973ac8a2c206744a2f8d8edf72fefe9eff..58819fd2e034167e508be51e0859357a34451078 100644 (file)
@@ -62,7 +62,7 @@ void GuiHyperlink::changed_adaptor()
 }
 
 
-void GuiHyperlink::updateContents()
+void GuiHyperlink::paramsToDialog(InsetCommandParams const & icp)
 {
        targetED->setText(toqstr(params_["target"]));
        nameED->setText(toqstr(params_["name"]));
@@ -101,6 +101,7 @@ bool GuiHyperlink::initialiseParams(std::string const & data)
        // The name passed with LFUN_INSET_APPLY is also the name
        // used to identify the mailer.
        InsetCommand::string2params("href", data, params_);
+       paramsToDialog(params_);
        return true;
 }