summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-14 03:01:07 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-14 03:01:07 +0300
commitf3781554bf946a22ac307d1c8fe6154db05bbf2e (patch)
tree30bae5fdc65a5a1cf6eecb552f6380712fcf900f /src/actions
parent12398ad6f56888be71e4575d90442b2172f9876d (diff)
downloadmanaplus-f3781554bf946a22ac307d1c8fe6154db05bbf2e.tar.gz
manaplus-f3781554bf946a22ac307d1c8fe6154db05bbf2e.tar.bz2
manaplus-f3781554bf946a22ac307d1c8fe6154db05bbf2e.tar.xz
manaplus-f3781554bf946a22ac307d1c8fe6154db05bbf2e.zip
Add ability to load/save additional data for each shortcut in shortcuts window.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index f41640f6c..94dd1765e 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -1550,9 +1550,11 @@ impHandler(useItem)
}
else if (skillDialog)
{
+ // +++ probably need get data parameter from args
skillDialog->useItem(itemId,
fromBool(config.getBoolValue("skillAutotarget"), AutoTarget),
- 0);
+ 0,
+ std::string());
}
return true;
}