- enhancement: better behavior of mouse tips

This commit is contained in:
Roy Qu 2022-01-15 11:33:41 +08:00
parent 04770a6fd8
commit 6be9190a8a
1 changed files with 2 additions and 0 deletions

View File

@ -1017,6 +1017,8 @@ bool Editor::event(QEvent *event)
break; break;
case TipType::None: case TipType::None:
cancelHint(); cancelHint();
mCurrentWord = "";
mCurrentTipType = TipType::None;
event->ignore(); event->ignore();
return true; return true;
} }