From 3a19b08078d42837126cc585d2a9b6f5f61b2c2b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Jan 2016 21:40:24 +0300 Subject: Add quick shortcuts for add selected item to each craft inventory slot. Add craft tab with shortcuts in input tab. --- src/gui/widgets/tabs/setup_input.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gui/widgets/tabs') 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, -- cgit v1.2.3-70-g09d2