From 2eb15d389f85e300cb124b990ebbf2663acaa637 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 3 Jul 2013 15:48:02 +0300 Subject: add support for drag and drop from/to shortcuts window. --- src/gui/widgets/spellshortcutcontainer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/widgets/spellshortcutcontainer.cpp') diff --git a/src/gui/widgets/spellshortcutcontainer.cpp b/src/gui/widgets/spellshortcutcontainer.cpp index df9f421b8..dad7f5dcf 100644 --- a/src/gui/widgets/spellshortcutcontainer.cpp +++ b/src/gui/widgets/spellshortcutcontainer.cpp @@ -170,6 +170,7 @@ void SpellShortcutContainer::mouseDragged(gcn::MouseEvent &event) if (spell) { dragDrop.dragCommand(spell, DRAGDROP_SOURCE_SPELLS, index); + dragDrop.setItem(spell->getId() + SPELL_MIN_ID); } else { -- cgit v1.2.3-60-g2f50