summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-25 19:47:29 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-25 19:47:29 +0300
commita02e2ba72702226cc25b245cc0e2615ead279cee (patch)
treef4bbc296e42ac0543aecba573123bb1f45ccb0f8 /src/gui/popups/popupmenu.cpp
parentcd8ef301f4796f15390d02d866ad88423b2d8d16 (diff)
downloadmv-a02e2ba72702226cc25b245cc0e2615ead279cee.tar.gz
mv-a02e2ba72702226cc25b245cc0e2615ead279cee.tar.bz2
mv-a02e2ba72702226cc25b245cc0e2615ead279cee.tar.xz
mv-a02e2ba72702226cc25b245cc0e2615ead279cee.zip
Add chat command for clear current outfit.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r--src/gui/popups/popupmenu.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 4218a1101..35c459953 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -792,7 +792,7 @@ void PopupMenu::showOutfitsWindowPopup(const int x, const int y)
mBrowserBox->addRow("##3---");
// TRANSLATORS: popup menu item
// TRANSLATORS: clear selected outfit
- mBrowserBox->addRow("clear outfit", _("Clear outfit"));
+ mBrowserBox->addRow("/clearoutfit", _("Clear outfit"));
mBrowserBox->addRow("##3---");
addWindowMenu(outfitWindow);
@@ -1243,11 +1243,6 @@ void PopupMenu::handleLink(const std::string &link,
showChangePos(getX(), getY());
return;
}
- else if (link == "clear outfit")
- {
- if (outfitWindow)
- outfitWindow->clearCurrentOutfit();
- }
else if (link == "clipboard copy")
{
if (mTextField)