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/gui/widgets | |
parent | 7a56bfad4c7297863c717a7ca8c8cf42c712a220 (diff) | |
download | plus-f886c62eee04a89c01d30322db1a9eb85f699ac3.tar.gz plus-f886c62eee04a89c01d30322db1a9eb85f699ac3.tar.bz2 plus-f886c62eee04a89c01d30322db1a9eb85f699ac3.tar.xz plus-f886c62eee04a89c01d30322db1a9eb85f699ac3.zip |
Add item shortcuts tab with automatically filled with skills.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/itemshortcutcontainer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp index 1f50637e4..915923610 100644 --- a/src/gui/widgets/itemshortcutcontainer.cpp +++ b/src/gui/widgets/itemshortcutcontainer.cpp @@ -360,6 +360,8 @@ void ItemShortcutContainer::safeDraw(Graphics *const graphics) void ItemShortcutContainer::mouseDragged(MouseEvent &event) { + if (mNumber == SHORTCUT_AUTO_TAB) + return; ItemShortcut *const selShortcut = itemShortcut[mNumber]; if (selShortcut == nullptr) return; |