To less distract users change completer filter mode to match contains. #124
This commit is contained in:
parent
2902d84a74
commit
342df09a82
|
@ -135,7 +135,7 @@ DialogPatternProperties::DialogPatternProperties(VPattern *doc, VContainer *pat
|
||||||
m_completer = new QCompleter(m_variables, this);
|
m_completer = new QCompleter(m_variables, this);
|
||||||
m_completer->setCompletionMode(QCompleter::PopupCompletion);
|
m_completer->setCompletionMode(QCompleter::PopupCompletion);
|
||||||
m_completer->setModelSorting(QCompleter::UnsortedModel);
|
m_completer->setModelSorting(QCompleter::UnsortedModel);
|
||||||
m_completer->setFilterMode(Qt::MatchStartsWith);
|
m_completer->setFilterMode(Qt::MatchContains);
|
||||||
m_completer->setCaseSensitivity(Qt::CaseSensitive);
|
m_completer->setCaseSensitivity(Qt::CaseSensitive);
|
||||||
|
|
||||||
ui->lineEditPassmarkLength->setCompleter(m_completer);
|
ui->lineEditPassmarkLength->setCompleter(m_completer);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user