setFocusProxy(targetED);
+ bc().setPolicy(ButtonPolicy::OkCancelReadOnlyPolicy);
+
bc().setOK(okPB);
bc().setCancel(closePB);
bc().addReadOnly(targetED);
}
-void GuiHyperlink::updateContents()
+void GuiHyperlink::paramsToDialog(InsetCommandParams const & /*icp*/)
{
targetED->setText(toqstr(params_["target"]));
nameED->setText(toqstr(params_["name"]));
// 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;
}
} // namespace lyx
-#include "GuiHyperlink_moc.cpp"
+#include "moc_GuiHyperlink.cpp"