diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-27 19:37:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-27 19:41:51 +0300 |
commit | e05913dbd84ab444dcf41fcc00bf6aa5470d79fe (patch) | |
tree | 3cac4530f8ab7e5c9bb8def6ddfcae6bd604b042 /src/gui/popups/popupmenu.cpp | |
parent | 1f90dd8fea01c835816b3ed67f07561ae29b6ddc (diff) | |
download | manaplus-e05913dbd84ab444dcf41fcc00bf6aa5470d79fe.tar.gz manaplus-e05913dbd84ab444dcf41fcc00bf6aa5470d79fe.tar.bz2 manaplus-e05913dbd84ab444dcf41fcc00bf6aa5470d79fe.tar.xz manaplus-e05913dbd84ab444dcf41fcc00bf6aa5470d79fe.zip |
Remove action "reset yellow bar" from context menu.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index bc8a9fd2f..d5b122ffd 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -1264,10 +1264,6 @@ void PopupMenu::handleLink(const std::string &link, } } } - else if (link == "reset yellow") - { - GameModifiers::resetModifiers(); - } else if (link == "bar to chat" && !mNick.empty()) { if (chatWindow) @@ -1964,7 +1960,7 @@ void PopupMenu::showPopup(const int x, const int y, const ProgressBar *const b) // TRANSLATORS: popup menu item mBrowserBox->addRow("/yellowbar", _("Open yellow bar settings")); // TRANSLATORS: popup menu item - mBrowserBox->addRow("reset yellow", _("Reset yellow bar")); + mBrowserBox->addRow("/resetmodifiers", _("Reset yellow bar")); mBrowserBox->addRow("##3---"); // TRANSLATORS: popup menu item // TRANSLATORS: copy status to chat |