diff options
-rw-r--r-- | src/listeners/tooltiplistener.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/listeners/tooltiplistener.cpp b/src/listeners/tooltiplistener.cpp index 139b9aa6b..511779192 100644 --- a/src/listeners/tooltiplistener.cpp +++ b/src/listeners/tooltiplistener.cpp @@ -23,7 +23,7 @@ #include "gui/gui.h" #include "gui/viewport.h" -#include "gui/popups/textpopup.h" +#include "gui/popups/textboxpopup.h" #include "debug.h" @@ -50,13 +50,12 @@ void ToolTipListener::mouseMoved(MouseEvent &event) } event.consume(); - textPopup->show(x, y, mToolTip); + textBoxPopup->show(x, y, mToolTip); } void ToolTipListener::mouseExited(MouseEvent &event A_UNUSED) { if (mToolTip.empty()) return; - - textPopup->hide(); + textBoxPopup->hide(); } |