]> git.lyx.org Git - lyx.git/blobdiff - src/text3.C
Minimal fix needed to give Qt a label dialog again.
[lyx.git] / src / text3.C
index 679996ea185fa5eed0f448bcb5594ab69b6e5392..d7d588311745e93c0af9c17716cae87facd5355f 100644 (file)
@@ -380,7 +380,7 @@ void doInsertInset(LyXText * lt, FuncRequest const & cmd,
 {
        Inset * inset = createInset(cmd);
        BufferView * bv = cmd.view();
-       
+
        if (inset) {
                bool gotsel = false;
                if (lt->selection.set()) {
@@ -1592,14 +1592,14 @@ Inset::RESULT LyXText::dispatch(FuncRequest const & cmd)
 
        case LFUN_HTMLURL: {
                InsetCommandParams p("htmlurl");
-               string const data = InsetCommandMailer::params2string(p);
+               string const data = InsetCommandMailer::params2string("url", p);
                bv->owner()->getDialogs().show("url", data, 0);
                break;
        }
 
        case LFUN_URL: {
                InsetCommandParams p("url");
-               string const data = InsetCommandMailer::params2string(p);
+               string const data = InsetCommandMailer::params2string("url", p);
                bv->owner()->getDialogs().show("url", data, 0);
                break;
        }