summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-26 21:40:24 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-27 02:22:56 +0300
commit3a19b08078d42837126cc585d2a9b6f5f61b2c2b (patch)
tree400122420df75e178cb7d52cfd2f67cd12d394a8 /src/gui/widgets/tabs
parent4a6e5d83cd39dfde59d273b9be79cd76c685a8e9 (diff)
downloadmv-3a19b08078d42837126cc585d2a9b6f5f61b2c2b.tar.gz
mv-3a19b08078d42837126cc585d2a9b6f5f61b2c2b.tar.bz2
mv-3a19b08078d42837126cc585d2a9b6f5f61b2c2b.tar.xz
mv-3a19b08078d42837126cc585d2a9b6f5f61b2c2b.zip
Add quick shortcuts for add selected item to each craft inventory slot.
Add craft tab with shortcuts in input tab.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r--src/gui/widgets/tabs/setup_input.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/setup_input.cpp b/src/gui/widgets/tabs/setup_input.cpp
index 4872821f7..50187cffd 100644
--- a/src/gui/widgets/tabs/setup_input.cpp
+++ b/src/gui/widgets/tabs/setup_input.cpp
@@ -29,6 +29,7 @@
#include "input/inputmanager.h"
#include "input/keyboardconfig.h"
+#include "input/pages/craft.h"
#include "input/pages/emotes.h"
#include "input/pages/move.h"
#include "input/pages/outfits.h"
@@ -381,6 +382,11 @@ void Setup_Input::fixTranslations()
InputAction::EMOTE_48,
"Emote Shortcut %d");
+ fixTranslation(setupActionDataCraft,
+ InputAction::CRAFT_1,
+ InputAction::CRAFT_9,
+ "Craft shortcut %d");
+
fixTranslation(setupActionDataOutfits,
InputAction::OUTFIT_1,
InputAction::OUTFIT_48,