summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-20 01:40:44 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-20 01:40:44 +0300
commita0b1ecd9ed18cb0246629b7e3f85fa38bfde2039 (patch)
treea908548d44fdecd8657b0ab9d81d009679502838 /src/gui/widgets/tabs
parent75c8412edc9030ff86dc80dc4143d873cda9d4d1 (diff)
downloadmanaplus-a0b1ecd9ed18cb0246629b7e3f85fa38bfde2039.tar.gz
manaplus-a0b1ecd9ed18cb0246629b7e3f85fa38bfde2039.tar.bz2
manaplus-a0b1ecd9ed18cb0246629b7e3f85fa38bfde2039.tar.xz
manaplus-a0b1ecd9ed18cb0246629b7e3f85fa38bfde2039.zip
Add chat command for show/change auto item party sharing.s20160820
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r--src/gui/widgets/tabs/chat/partytab.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/chat/partytab.cpp b/src/gui/widgets/tabs/chat/partytab.cpp
index 6a52dc634..f39ee7a45 100644
--- a/src/gui/widgets/tabs/chat/partytab.cpp
+++ b/src/gui/widgets/tabs/chat/partytab.cpp
@@ -88,6 +88,12 @@ bool PartyTab::handleCommand(const std::string &restrict type,
args,
this);
}
+ else if (type == "autoitem")
+ {
+ inputManager.executeChatCommand(InputAction::PARTY_AUTO_ITEM_SHARE,
+ args,
+ this);
+ }
else if (type == "exp")
{
inputManager.executeChatCommand(InputAction::PARTY_EXP_SHARE,