Commit 68d4efb0 authored by Luke Dashjr's avatar Luke Dashjr Committed by Heiko Becker
Browse files

Bugfix: Correct behaviour of "case sensitive" tab completion option

Fixes regression from 5dfb6583.
BUG:442109
parent 806312bb
Pipeline #111942 passed with stage
in 2 minutes and 34 seconds
......@@ -2822,7 +2822,7 @@ QString NickList::completeNick(const QString& pattern, bool& complete, QStringLi
const QRegularExpression regexp(
prefix + QRegularExpression::escape(pattern),
caseSensitive ? QRegularExpression::CaseInsensitiveOption : QRegularExpression::NoPatternOption);
caseSensitive ? QRegularExpression::NoPatternOption : QRegularExpression::CaseInsensitiveOption);
for (Nick* nick : *this) {
newNick = nick->getChannelNick()->getNickname();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment