diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-14 20:50:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-14 22:54:59 +0300 |
commit | 0204a75a049d6819719cf41ac92116012ed50d86 (patch) | |
tree | d2723719f22628a612c17b0f977054610c5720fd /src/gui/shortcut/itemshortcut.h | |
parent | 3fc421539bc81f27262b91554694509f3e47f865 (diff) | |
download | plus-0204a75a049d6819719cf41ac92116012ed50d86.tar.gz plus-0204a75a049d6819719cf41ac92116012ed50d86.tar.bz2 plus-0204a75a049d6819719cf41ac92116012ed50d86.tar.xz plus-0204a75a049d6819719cf41ac92116012ed50d86.zip |
Allow drag cast type from skills window into shortcuts.
Diffstat (limited to 'src/gui/shortcut/itemshortcut.h')
-rw-r--r-- | src/gui/shortcut/itemshortcut.h | 4 |
1 files changed, 4 insertions, 0 deletions
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]; } |