make tag-suggestions case insensitive

This commit is contained in:
Felix Nüsse 2025-01-19 21:26:01 +01:00 committed by Jonathan White
parent 6cc6e42542
commit 2c76a370c2
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01

View File

@ -414,6 +414,7 @@ struct TagsEdit::Impl
void setupCompleter()
{
completer->setWidget(ifce);
completer->setCaseSensitivity(Qt::CaseInsensitive);
connect(completer.get(),
static_cast<void (QCompleter::*)(QString const&)>(&QCompleter::activated),
[this](QString const& text) { currentText(text); });