diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-25 19:47:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-25 19:47:29 +0300 |
commit | a02e2ba72702226cc25b245cc0e2615ead279cee (patch) | |
tree | f4bbc296e42ac0543aecba573123bb1f45ccb0f8 /src/gui/popups/popupmenu.cpp | |
parent | cd8ef301f4796f15390d02d866ad88423b2d8d16 (diff) | |
download | plus-a02e2ba72702226cc25b245cc0e2615ead279cee.tar.gz plus-a02e2ba72702226cc25b245cc0e2615ead279cee.tar.bz2 plus-a02e2ba72702226cc25b245cc0e2615ead279cee.tar.xz plus-a02e2ba72702226cc25b245cc0e2615ead279cee.zip |
Add chat command for clear current outfit.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 7 |
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) |