diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-02 21:32:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-02 21:32:53 +0300 |
commit | f886c62eee04a89c01d30322db1a9eb85f699ac3 (patch) | |
tree | d1cf48972f652b66986e14b9034493883c57dc22 /src/game.cpp | |
parent | 7a56bfad4c7297863c717a7ca8c8cf42c712a220 (diff) | |
download | manaverse-f886c62eee04a89c01d30322db1a9eb85f699ac3.tar.gz manaverse-f886c62eee04a89c01d30322db1a9eb85f699ac3.tar.bz2 manaverse-f886c62eee04a89c01d30322db1a9eb85f699ac3.tar.xz manaverse-f886c62eee04a89c01d30322db1a9eb85f699ac3.zip |
Add item shortcuts tab with automatically filled with skills.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 54c1581d1..ac6df64c1 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -231,11 +231,13 @@ static void createGuiWindows() CREATEWIDGETV(itemShortcutWindow, ShortcutWindow, "ItemShortcut", "items.xml", 83, 460); - for (unsigned f = 0; f < SHORTCUT_TABS; f ++) + for (unsigned f = 0; f < SHORTCUT_TABS - 1; f ++) { itemShortcutWindow->addTab(toString(f + 1), new ItemShortcutContainer(nullptr, f)); } + itemShortcutWindow->addTab("A", + new ItemShortcutContainer(nullptr, SHORTCUT_TABS - 1)); if (config.getBoolValue("showDidYouKnow")) { didYouKnowWindow->setVisible(Visible_true); |