diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-27 19:49:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-27 19:49:56 +0300 |
commit | dccf40b1e9168e5341937f35cc8c9bfa1bee433f (patch) | |
tree | 6e8ee1169e0b63e65b358decae05145fe4f8217e /src/gui | |
parent | e05913dbd84ab444dcf41fcc00bf6aa5470d79fe (diff) | |
download | plus-dccf40b1e9168e5341937f35cc8c9bfa1bee433f.tar.gz plus-dccf40b1e9168e5341937f35cc8c9bfa1bee433f.tar.bz2 plus-dccf40b1e9168e5341937f35cc8c9bfa1bee433f.tar.xz plus-dccf40b1e9168e5341937f35cc8c9bfa1bee433f.zip |
Remove popup action "copy bar to chat"
Diffstat (limited to 'src/gui')
-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 d5b122ffd..bead76de5 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -1264,11 +1264,6 @@ void PopupMenu::handleLink(const std::string &link, } } } - else if (link == "bar to chat" && !mNick.empty()) - { - if (chatWindow) - chatWindow->addInputText(mNick); - } else if (link == "items" && being) { if (being == localPlayer) @@ -1964,7 +1959,7 @@ void PopupMenu::showPopup(const int x, const int y, const ProgressBar *const b) mBrowserBox->addRow("##3---"); // TRANSLATORS: popup menu item // TRANSLATORS: copy status to chat - mBrowserBox->addRow("bar to chat", _("Copy to chat")); + mBrowserBox->addRow("/bartochat 'NAME'", _("Copy to chat")); // TRANSLATORS: popup menu item // TRANSLATORS: close menu mBrowserBox->addRow("cancel", _("Cancel")); |