To less distract users change completer filter mode to match contains. #124

This commit is contained in:
Roman Telezhynskyi 2021-05-15 10:39:31 +03:00
parent 2902d84a74
commit 342df09a82

View File

@ -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);