]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiSpellchecker.cpp
LFUN_WORD_REPLACE: Invert replacement and searched strings in the FuncRequest argumen...
[features.git] / src / frontends / qt4 / GuiSpellchecker.cpp
index aacac46dc9e6afa35fc4009a5b827bb680329ed8..73e1254ee15e8f34eab52a59a7dd28b979636ab5 100644 (file)
@@ -176,8 +176,8 @@ void GuiSpellchecker::on_replacePB_clicked()
 void GuiSpellchecker::on_replaceAllPB_clicked()
 {
        docstring const data = replace2string(
-               qstring_to_ucs4(d->ui.wordED->text()),
                qstring_to_ucs4(d->ui.replaceCO->currentText()),
+               qstring_to_ucs4(d->ui.wordED->text()),
                true, true, true, true);
        dispatch(FuncRequest(LFUN_WORD_REPLACE, data));
 }