diff --git a/editor/src/texteditor.cpp b/editor/src/texteditor.cpp index f67c466b..f4e33d40 100644 --- a/editor/src/texteditor.cpp +++ b/editor/src/texteditor.cpp @@ -1152,7 +1152,7 @@ void TextEditor::updateFont() void TextEditor::replaceAll(const QString &replaceText, const QString &withText) { - if (replaceText.isEmpty() || withText.isEmpty()) { + if (replaceText.isEmpty()) { return; }