diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-12 12:40:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-12 12:40:04 +0300 |
commit | ba66d798fe5178e7b7965b7cca1b0e351f07aa4e (patch) | |
tree | 4e0116d55c08d3fb6583eed7646d92d72fa311f3 /src/gui/popups/popupmenu.cpp | |
parent | eda8a2e6bd872af5a4e53f7b517ce2a57e5db246 (diff) | |
download | plus-ba66d798fe5178e7b7965b7cca1b0e351f07aa4e.tar.gz plus-ba66d798fe5178e7b7965b7cca1b0e351f07aa4e.tar.bz2 plus-ba66d798fe5178e7b7965b7cca1b0e351f07aa4e.tar.xz plus-ba66d798fe5178e7b7965b7cca1b0e351f07aa4e.zip |
Remove "follow" popup menu handler.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 9fed214d9..bc16aee86 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -981,13 +981,7 @@ void PopupMenu::handleLink(const std::string &link, if (actorManager) being = actorManager->findBeing(mBeingId); - // Follow Player action - if (link == "follow" && !mNick.empty()) - { - if (localPlayer) - localPlayer->setFollow(mNick); - } - else if (link == "imitation" && !mNick.empty()) + if (link == "imitation" && !mNick.empty()) { if (localPlayer) localPlayer->setImitate(mNick); @@ -2652,7 +2646,7 @@ void PopupMenu::addFollow() if (features.getBoolValue("allowFollow")) { // TRANSLATORS: popup menu item - mBrowserBox->addRow("follow", _("Follow")); + mBrowserBox->addRow("/follow 'NAME'", _("Follow")); } // TRANSLATORS: popup menu item // TRANSLATORS: imitate player |