Commit 1eb2f2bd authored by con's avatar con
Browse files

Could not replace globally with empty string.

Task-number: QTCREATORBUG-2941
parent 0662a800
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment