From 8149254fa9a1f85d7a91c76250dfb7e5ce67d453 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 15 Nov 2011 17:13:17 +0300 Subject: Autocomplete player nick in whisper first even if player offline or not in visible range. --- src/gui/widgets/whispertab.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets/whispertab.h') diff --git a/src/gui/widgets/whispertab.h b/src/gui/widgets/whispertab.h index 5bca422a6..8678c932c 100644 --- a/src/gui/widgets/whispertab.h +++ b/src/gui/widgets/whispertab.h @@ -33,7 +33,8 @@ class Channel; class WhisperTab : public ChatTab { public: - const std::string &getNick() const { return mNick; } + const std::string &getNick() const + { return mNick; } void showHelp(); @@ -45,6 +46,8 @@ class WhisperTab : public ChatTab void saveToLogFile(std::string &msg); + void getAutoCompleteList(std::vector &names) const; + protected: friend class ChatWindow; -- cgit v1.2.3-60-g2f50