summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-02 21:32:53 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-02 21:32:53 +0300
commitf886c62eee04a89c01d30322db1a9eb85f699ac3 (patch)
treed1cf48972f652b66986e14b9034493883c57dc22 /src/gui/widgets
parent7a56bfad4c7297863c717a7ca8c8cf42c712a220 (diff)
downloadplus-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.cpp2
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;