diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-12 12:35:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-12 12:35:14 +0300 |
commit | 3b69d225143dd8c6c3b0ab4e1730e427d67c5f27 (patch) | |
tree | 8716d9659bd3a328a9d9d4492a9775ae74b2cda3 /src/gui/widgets/tabs/guildchattab.cpp | |
parent | e10e6c7f8860536986b455b58b907026996b28fa (diff) | |
download | manaverse-3b69d225143dd8c6c3b0ab4e1730e427d67c5f27.tar.gz manaverse-3b69d225143dd8c6c3b0ab4e1730e427d67c5f27.tar.bz2 manaverse-3b69d225143dd8c6c3b0ab4e1730e427d67c5f27.tar.xz manaverse-3b69d225143dd8c6c3b0ab4e1730e427d67c5f27.zip |
add autocomplete special commands in guild tab.
Diffstat (limited to 'src/gui/widgets/tabs/guildchattab.cpp')
-rw-r--r-- | src/gui/widgets/tabs/guildchattab.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/guildchattab.cpp b/src/gui/widgets/tabs/guildchattab.cpp index 8de95991f..13386d18f 100644 --- a/src/gui/widgets/tabs/guildchattab.cpp +++ b/src/gui/widgets/tabs/guildchattab.cpp @@ -128,6 +128,14 @@ void GuildChatTab::getAutoCompleteList(StringVect &names) const return; guildManager->getNames(names); +} + +void GuildChatTab::getAutoCompleteCommands(StringVect &names) const +{ + names.push_back("/help"); + names.push_back("/invite "); + names.push_back("/leave"); + names.push_back("/kick "); names.push_back("/notice "); } |