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, 5 insertions, 0 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 16112fef6..ba11bdf95 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -846,6 +846,11 @@ void Viewport::showNpcDialogPopup(const int npcId)
mPopupMenu->showNpcDialogPopup(npcId, mMouseX, mMouseY);
}
+void Viewport::showWindowPopup(Window *const window)
+{
+ mPopupMenu->showWindowPopup(window, mMouseX, mMouseY);
+}
+
void Viewport::closePopupMenu()
{
if (mPopupMenu)