From c37ae6c52273c01f634a0635c5255319f385e7fb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 13 Oct 2014 00:08:07 +0300 Subject: Add whisper tab and channel tab commands to autocomplete. --- src/gui/widgets/tabs/chat/whispertab.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gui/widgets/tabs/chat/whispertab.cpp') 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); -- cgit v1.2.3-70-g09d2