This commit is contained in:
fourtf
2018-08-14 17:34:45 +02:00
parent c4e3bf1a8c
commit 902fe684c0
2 changed files with 8 additions and 5 deletions
+2 -1
View File
@@ -82,7 +82,8 @@ void CompletionModel::refresh(const QString &prefix)
if (prefix.length() < 2) return;
auto addString = [&](const QString &str, TaggedString::Type type) {
if (str.startsWith(prefix)) this->items_.emplace(str + " ", type);
if (str.startsWith(prefix, Qt::CaseInsensitive))
this->items_.emplace(str + " ", type);
};
if (auto channel = dynamic_cast<TwitchChannel *>(&this->channel_)) {