From 342df09a828db21726020d66ff78536caaef4bad Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 15 May 2021 10:39:31 +0300 Subject: [PATCH] To less distract users change completer filter mode to match contains. #124 --- src/app/valentina/dialogs/dialogpatternproperties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/valentina/dialogs/dialogpatternproperties.cpp b/src/app/valentina/dialogs/dialogpatternproperties.cpp index df7eabf17..8f8acc0ae 100644 --- a/src/app/valentina/dialogs/dialogpatternproperties.cpp +++ b/src/app/valentina/dialogs/dialogpatternproperties.cpp @@ -135,7 +135,7 @@ DialogPatternProperties::DialogPatternProperties(VPattern *doc, VContainer *pat m_completer = new QCompleter(m_variables, this); m_completer->setCompletionMode(QCompleter::PopupCompletion); m_completer->setModelSorting(QCompleter::UnsortedModel); - m_completer->setFilterMode(Qt::MatchStartsWith); + m_completer->setFilterMode(Qt::MatchContains); m_completer->setCaseSensitivity(Qt::CaseSensitive); ui->lineEditPassmarkLength->setCompleter(m_completer);