summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-24 00:41:26 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-24 00:41:26 +0300
commit398e7e04c6232d2076a44040548cbc88497a155b (patch)
tree863d03acdd33be63294a0d5cc4d8adec1c2f19e6 /src/gui/popups
parent9208926ca3f162102c08b8e5331f5a1c38681d4f (diff)
downloadplus-398e7e04c6232d2076a44040548cbc88497a155b.tar.gz
plus-398e7e04c6232d2076a44040548cbc88497a155b.tar.bz2
plus-398e7e04c6232d2076a44040548cbc88497a155b.tar.xz
plus-398e7e04c6232d2076a44040548cbc88497a155b.zip
Add context menu item "who drops" into gm context menu.
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/popupmenu.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 2467c0726..b25ad11c3 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -2755,6 +2755,7 @@ void PopupMenu::showFloorItemGMCommands()
// TRANSLATORS: popup menu item
// TRANSLATORS: show item information
mBrowserBox->addRow("/iteminfo 'ITEMID'", _("Info"));
+ mBrowserBox->addRow("/whodrops 'ITEMID'", _("Who drops"));
}
void PopupMenu::showItemGMCommands()
@@ -2762,6 +2763,7 @@ void PopupMenu::showItemGMCommands()
// TRANSLATORS: popup menu item
// TRANSLATORS: show item information
mBrowserBox->addRow("/iteminfo 'ITEMID'", _("Info"));
+ mBrowserBox->addRow("/whodrops 'ITEMID'", _("Who drops"));
}
void PopupMenu::showGMPopup()