diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-21 19:22:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-21 19:22:59 +0300 |
commit | 413bac1a68a5169dfe9de158cd965c3d0c35d9a9 (patch) | |
tree | 7d0b7785e88f64ff403174e8c2ebc586fc5e4de7 | |
parent | d8a7eaa14ef0fad24e19f6363db708a397f7f98b (diff) | |
download | manaplus-413bac1a68a5169dfe9de158cd965c3d0c35d9a9.tar.gz manaplus-413bac1a68a5169dfe9de158cd965c3d0c35d9a9.tar.bz2 manaplus-413bac1a68a5169dfe9de158cd965c3d0c35d9a9.tar.xz manaplus-413bac1a68a5169dfe9de158cd965c3d0c35d9a9.zip |
Add into outfits menu option to copy equipment from player into outfit.
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 4 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 2284e4cda..7532a9099 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -787,6 +787,10 @@ void PopupMenu::showOutfitsWindowPopup(const int x, const int y) mBrowserBox->addRow("/outfittochat", _("Add to chat")); mBrowserBox->addRow("##3---"); // TRANSLATORS: popup menu item + // TRANSLATORS: copy equipment from player to outfit + mBrowserBox->addRow("/itemstooutfit", _("Copy from player")); + mBrowserBox->addRow("##3---"); + // TRANSLATORS: popup menu item // TRANSLATORS: clear selected outfit mBrowserBox->addRow("clear outfit", _("Clear outfit")); mBrowserBox->addRow("##3---"); diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index ab7ab9e81..85595d43b 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -1264,7 +1264,7 @@ static const InputActionData inputActionData &Actions::copyEquippedToOutfit, InputAction::NO_VALUE, 50, InputCondition::GAME | InputCondition::VALIDSPEED, - "", + "copyequippedtooutfit|itemstooutfit", UseArgs_false, Protected_true}, {"keyOutfitShortcut1", |