summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-27 19:37:07 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-27 19:41:51 +0300
commite05913dbd84ab444dcf41fcc00bf6aa5470d79fe (patch)
tree3cac4530f8ab7e5c9bb8def6ddfcae6bd604b042 /src/gui/popups
parent1f90dd8fea01c835816b3ed67f07561ae29b6ddc (diff)
downloadplus-e05913dbd84ab444dcf41fcc00bf6aa5470d79fe.tar.gz
plus-e05913dbd84ab444dcf41fcc00bf6aa5470d79fe.tar.bz2
plus-e05913dbd84ab444dcf41fcc00bf6aa5470d79fe.tar.xz
plus-e05913dbd84ab444dcf41fcc00bf6aa5470d79fe.zip
Remove action "reset yellow bar" from context menu.
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/popupmenu.cpp6
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