Commit aa6653e6 authored by Simon Depiets's avatar Simon Depiets
Browse files

Do not launch LT on empty strings

parent a71baafb
......@@ -1169,6 +1169,8 @@ void insertContent(QTextCursor& cursor, const CatalogString& catStr, const Catal
void TranslationUnitTextEdit::launchLanguageTool() {
if (toPlainText().length() == 0)
LanguageToolResultJob *job = new LanguageToolResultJob(this);
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