mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 22:35:27 +00:00
QML UI: make gas mix validator case insensitive
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
069cb8f6c5
commit
df2e7c052b
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ Item {
|
||||||
id: txtGasMix
|
id: txtGasMix
|
||||||
readOnly: (text == "cannot edit multiple gases" ? true : false)
|
readOnly: (text == "cannot edit multiple gases" ? true : false)
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
validator: RegExpValidator { regExp: /(EAN100|EAN\d\d|AIR|100|\d{1,2}|\d{1,2}\/\d{1,2})/ }
|
validator: RegExpValidator { regExp: /(EAN100|EAN\d\d|AIR|100|\d{1,2}|\d{1,2}\/\d{1,2})/i }
|
||||||
}
|
}
|
||||||
|
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
|
|
Loading…
Add table
Reference in a new issue