Automatically start search after replacing spelling error
This commit is contained in:
parent
11405eff5b
commit
affd72f3a9
@ -240,6 +240,9 @@ void SSearch::onWordReplace(const QString& o, const QString& n)
|
||||
exp.setCaseSensitivity(Qt::CaseInsensitive);
|
||||
txt.replace(exp, n);
|
||||
queryText->setEditText(txt);
|
||||
Qt::KeyboardModifiers mods = QApplication::keyboardModifiers ();
|
||||
if (mods == Qt::NoModifier)
|
||||
startSimpleSearch();
|
||||
}
|
||||
|
||||
void SSearch::setAnyTermMode()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user