summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 761daf41f..9bacfeb94 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -45,6 +45,7 @@
#include "gui/fonts/font.h"
+#include "gui/popups/beingpopup.h"
#include "gui/popups/popupmenu.h"
#include "gui/windows/ministatuswindow.h"
@@ -763,8 +764,8 @@ void Viewport::mouseMoved(MouseEvent &event A_UNUSED)
|| type == ActorType::PET))
{
popupManager->hideTextPopup();
- if (mShowBeingPopup)
- popupManager->showBeingPopup(mMouseX, mMouseY, mHoverBeing);
+ if (mShowBeingPopup && beingPopup)
+ beingPopup->show(mMouseX, mMouseY, mHoverBeing);
}
else
{