Skip to content
Snippets Groups Projects
Commit 1eb2f2bd authored by con's avatar con
Browse files

Could not replace globally with empty string.

Task-number: QTCREATORBUG-2941
parent 0662a800
No related branches found
No related tags found
No related merge requests found
......@@ -312,7 +312,7 @@ static void applyChanges(QTextDocument *doc, const QString &text, const QList<Fi
QStringList BaseFileFind::replaceAll(const QString &text,
const QList<Find::SearchResultItem> &items)
{
if (text.isEmpty() || items.isEmpty())
if (items.isEmpty())
return QStringList();
QHash<QString, QList<Find::SearchResultItem> > changes;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment