Make an increment name valid after user selected it from a completion list.
This commit is contained in:
parent
785d72117d
commit
b366986f7a
|
@ -9,6 +9,7 @@
|
|||
- Fix visualization for tool point of intersection line and axis. Case when the axis's point lies on the line.
|
||||
- Table of variables is available in Details mode.
|
||||
- Fix incorrect comparison of the global length of passmark to minimal allowed value.
|
||||
- Make an increment name valid after user selected it from a completion list.
|
||||
|
||||
# Valentina 0.7.49 July 1, 2021
|
||||
- Fix crash.
|
||||
|
|
|
@ -137,6 +137,11 @@ DialogPatternProperties::DialogPatternProperties(VPattern *doc, VContainer *pat
|
|||
m_completer->setModelSorting(QCompleter::UnsortedModel);
|
||||
m_completer->setFilterMode(Qt::MatchContains);
|
||||
m_completer->setCaseSensitivity(Qt::CaseSensitive);
|
||||
connect(m_completer, QOverload<const QString &>::of(&QCompleter::activated), this, [this]()
|
||||
{
|
||||
ValidatePassmarkLength();
|
||||
DescEdited();
|
||||
});
|
||||
|
||||
ui->lineEditPassmarkLength->setCompleter(m_completer);
|
||||
connect(ui->lineEditPassmarkLength, &QLineEdit::textEdited, this, [this]()
|
||||
|
|
Loading…
Reference in New Issue
Block a user