if (box->itemText(i) == text)
return;
- box->addItem(text);
+ box->insertItem(0, text);
}
bool forward, bool all)
{
docstring const data =
- replace2string(search, replace, casesensitive,
+ replace2string(replace, search, casesensitive,
matchword, all, forward);
dispatch(FuncRequest(LFUN_WORD_REPLACE, data));
}
} // namespace lyx
-#include "GuiSearch_moc.cpp"
+#include "moc_GuiSearch.cpp"