+ return !targetED->text().isEmpty() || !nameED->text().isEmpty();
+}
+
+
+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;
+}
+