summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-12 23:45:14 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-13 12:49:24 +0300
commit24f4c6de03a3a65df1ad9100e912e968fe9b8b18 (patch)
treed1a858ac91f493d97334499c4056abfb044501cd /src/gui/viewport.cpp
parent9233c3936657f6dc4ca9c73d84ea8c045b3fc09d (diff)
downloadmanaverse-24f4c6de03a3a65df1ad9100e912e968fe9b8b18.tar.gz
manaverse-24f4c6de03a3a65df1ad9100e912e968fe9b8b18.tar.bz2
manaverse-24f4c6de03a3a65df1ad9100e912e968fe9b8b18.tar.xz
manaverse-24f4c6de03a3a65df1ad9100e912e968fe9b8b18.zip
add copy to clipboard in npc dialog.
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 7ca330f95..867142c52 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -813,6 +813,11 @@ void Viewport::showWindowsPopup()
mPopupMenu->showWindowsPopup(mMouseX, mMouseY);
}
+void Viewport::showNpcDialogPopup(const int npcId)
+{
+ mPopupMenu->showNpcDialogPopup(npcId, mMouseX, mMouseY);
+}
+
void Viewport::closePopupMenu()
{
if (mPopupMenu)