From 6be9190a8a403517d6e78db69bcccbe74c05ad58 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Sat, 15 Jan 2022 11:33:41 +0800 Subject: [PATCH] - enhancement: better behavior of mouse tips --- RedPandaIDE/editor.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; }