From e3f651e65f5a486f47ae81fe3ba5e68e8c48f79e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 22 Nov 2015 21:30:14 +0300 Subject: Allow drag skill with any selected level to shortcuts window. --- src/gui/widgets/itemshortcutcontainer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets') 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 { -- cgit v1.2.3-70-g09d2