diff --git a/RedPandaIDE/editor.cpp b/RedPandaIDE/editor.cpp index 474bcb4c..2f626896 100644 --- a/RedPandaIDE/editor.cpp +++ b/RedPandaIDE/editor.cpp @@ -1017,6 +1017,8 @@ bool Editor::event(QEvent *event) break; case TipType::None: cancelHint(); + mCurrentWord = ""; + mCurrentTipType = TipType::None; event->ignore(); return true; }