mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Amend 0f80de308c
This commit is contained in:
parent
0f80de308c
commit
a89ff030cf
@ -60,7 +60,7 @@ QValidator::State LengthValidator::validate(QString & qtext, int &) const
|
||||
// A plausible intermediate value, see #12508
|
||||
return QValidator::Intermediate;
|
||||
|
||||
if (ok && positive_ && d <=0)
|
||||
if (ok && positive_ && d < 0)
|
||||
return QValidator::Invalid;
|
||||
|
||||
if (qtext.isEmpty() || (ok && !dp))
|
||||
|
Loading…
Reference in New Issue
Block a user