summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chat/whispertab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs/chat/whispertab.cpp')
-rw-r--r--src/gui/widgets/tabs/chat/whispertab.cpp5
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);