diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-11-15 17:13:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-11-15 17:13:17 +0300 |
commit | 8149254fa9a1f85d7a91c76250dfb7e5ce67d453 (patch) | |
tree | daf676d4ace2fca1a72f04209a134eb0a54f6e1a /src/gui/widgets/whispertab.cpp | |
parent | b91146d2cee7397ea952cf7870e04df316d9613e (diff) | |
download | manaplus-8149254fa9a1f85d7a91c76250dfb7e5ce67d453.tar.gz manaplus-8149254fa9a1f85d7a91c76250dfb7e5ce67d453.tar.bz2 manaplus-8149254fa9a1f85d7a91c76250dfb7e5ce67d453.tar.xz manaplus-8149254fa9a1f85d7a91c76250dfb7e5ce67d453.zip |
Autocomplete player nick in whisper first even if player offline
or not in visible range.
Diffstat (limited to 'src/gui/widgets/whispertab.cpp')
-rw-r--r-- | src/gui/widgets/whispertab.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/widgets/whispertab.cpp b/src/gui/widgets/whispertab.cpp index c99c4e0c5..33859d8be 100644 --- a/src/gui/widgets/whispertab.cpp +++ b/src/gui/widgets/whispertab.cpp @@ -165,3 +165,8 @@ void WhisperTab::saveToLogFile(std::string &msg) if (chatLogger) chatLogger->log(getNick(), msg); } + +void WhisperTab::getAutoCompleteList(std::vector<std::string> &names) const +{ + names.push_back(mNick); +} |