summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemshortcutcontainer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-22 21:30:14 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-22 21:30:14 +0300
commite3f651e65f5a486f47ae81fe3ba5e68e8c48f79e (patch)
tree643ce9eb26f4da078de5afe1d3e8b40eba901f23 /src/gui/widgets/itemshortcutcontainer.cpp
parent51583912458f8eb0b080edabf3af5f384a205055 (diff)
downloadmanaplus-e3f651e65f5a486f47ae81fe3ba5e68e8c48f79e.tar.gz
manaplus-e3f651e65f5a486f47ae81fe3ba5e68e8c48f79e.tar.bz2
manaplus-e3f651e65f5a486f47ae81fe3ba5e68e8c48f79e.tar.xz
manaplus-e3f651e65f5a486f47ae81fe3ba5e68e8c48f79e.zip
Allow drag skill with any selected level to shortcuts window.
Diffstat (limited to 'src/gui/widgets/itemshortcutcontainer.cpp')
-rw-r--r--src/gui/widgets/itemshortcutcontainer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp
index dc7c214dd..bfb8fef0d 100644
--- a/src/gui/widgets/itemshortcutcontainer.cpp
+++ b/src/gui/widgets/itemshortcutcontainer.cpp
@@ -432,8 +432,10 @@ void ItemShortcutContainer::mouseDragged(MouseEvent &event)
{
selShortcut->removeItem(index);
dragDrop.dragSkill(skill,
- DragDropSource::Shortcuts, index);
+ DragDropSource::Shortcuts,
+ index);
dragDrop.setItem(itemId);
+ dragDrop.setItemColor(itemColor);
}
else
{