From 0204a75a049d6819719cf41ac92116012ed50d86 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Aug 2016 20:50:08 +0300 Subject: Allow drag cast type from skills window into shortcuts. --- src/gui/shortcut/itemshortcut.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/shortcut/itemshortcut.h') diff --git a/src/gui/shortcut/itemshortcut.h b/src/gui/shortcut/itemshortcut.h index 4f223478f..2f1b10569 100644 --- a/src/gui/shortcut/itemshortcut.h +++ b/src/gui/shortcut/itemshortcut.h @@ -73,6 +73,10 @@ class ItemShortcut final ItemColor getItemColor(const int index) const A_WARN_UNUSED { return mItemColors[index]; } + void setItemData(const int index, + const std::string &data) + { mItemData[index] = data; } + std::string getItemData(const int index) const A_WARN_UNUSED { return mItemData[index]; } -- cgit v1.2.3-60-g2f50