From a02e2ba72702226cc25b245cc0e2615ead279cee Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Thu, 25 May 2017 19:47:29 +0300
Subject: Add chat command for clear current outfit.

---
 src/gui/popups/popupmenu.cpp | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

(limited to 'src/gui')

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)
-- 
cgit v1.2.3-70-g09d2