Skip to content

Commit

Permalink
Merge pull request #305 from Krakonos/issue-276-allow-prefix-matching…
Browse files Browse the repository at this point in the history
…-in-tags-autocompletion

FIX: Allow prefix matching in autocompletion.
  • Loading branch information
Krakonos authored Oct 2, 2024
2 parents f2d82bb + d5b89b7 commit 43c7745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/EditCompleterDelegate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ QWidget* EditCompleterDelegate::createEditor(QWidget* parent, const QStyleOption
cb->setInsertPolicy(QComboBox::InsertAlphabetically);
cb->insertItems(-1, tagKeys);
cb->setEditable(true);
completer->setCompletionMode(QCompleter::InlineCompletion);
completer->setFilterMode(Qt::MatchStartsWith);
completer->setModelSorting(QCompleter::CaseInsensitivelySortedModel);
cb->setCompleter(completer);

Expand Down

0 comments on commit 43c7745

Please sign in to comment.