diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-13 00:08:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-13 00:08:07 +0300 |
commit | c37ae6c52273c01f634a0635c5255319f385e7fb (patch) | |
tree | 7ea53420bdecd46d53df69ccbbe1253214ca9fca /src/gui/widgets/tabs/chat/whispertab.cpp | |
parent | 4642291e19a5a98d07c067baddf1b5fafbab943a (diff) | |
download | manaplus-c37ae6c52273c01f634a0635c5255319f385e7fb.tar.gz manaplus-c37ae6c52273c01f634a0635c5255319f385e7fb.tar.bz2 manaplus-c37ae6c52273c01f634a0635c5255319f385e7fb.tar.xz manaplus-c37ae6c52273c01f634a0635c5255319f385e7fb.zip |
Add whisper tab and channel tab commands to autocomplete.
Diffstat (limited to 'src/gui/widgets/tabs/chat/whispertab.cpp')
-rw-r--r-- | src/gui/widgets/tabs/chat/whispertab.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/chat/whispertab.cpp b/src/gui/widgets/tabs/chat/whispertab.cpp index e1740d808..20354cc69 100644 --- a/src/gui/widgets/tabs/chat/whispertab.cpp +++ b/src/gui/widgets/tabs/chat/whispertab.cpp @@ -115,6 +115,11 @@ void WhisperTab::getAutoCompleteList(StringVect &names) const names.push_back(mNick); } +void WhisperTab::getAutoCompleteCommands(StringVect& commands) const +{ + commands.push_back("/close"); +} + void WhisperTab::setWhisperTabColors() { setTabColors(Theme::WHISPER_TAB); |