diff --git a/.clang-tidy b/.clang-tidy index f2df52ac3..5f3462806 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -16,6 +16,7 @@ Checks: "-*, clazy-*, -clazy-qstring-allocations, -clazy-missing-qobject-macro, + -clazy-incorrect-emit, -clazy-ctor-missing-parent-argument, cppcoreguidelines-*, -cppcoreguidelines-pro-type-cstyle-cast, diff --git a/src/widgets/helper/ResizingTextEdit.cpp b/src/widgets/helper/ResizingTextEdit.cpp index 59e9f09e5..35577fa6e 100644 --- a/src/widgets/helper/ResizingTextEdit.cpp +++ b/src/widgets/helper/ResizingTextEdit.cpp @@ -181,6 +181,7 @@ void ResizingTextEdit::keyPressEvent(QKeyEvent *event) QSignalBlocker dontTriggerCursorMovement(this); this->completer_->complete(); } + this->textChanged(); return; } @@ -210,6 +211,7 @@ void ResizingTextEdit::keyPressEvent(QKeyEvent *event) QSignalBlocker dontTriggerCursorMovement(this); this->completer_->complete(); } + this->textChanged(); return; }