diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-04-07 22:56:37 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-07 22:57:02 -0700 |
commit | df2e7c052bffcc69d8409c9753a338f500b00bdf (patch) | |
tree | 3c70d050d2466747adc76c6ba61adc71439201af /mobile-widgets | |
parent | 069cb8f6c5f47f2c007a39f4dd80272a0d05d056 (diff) | |
download | subsurface-df2e7c052bffcc69d8409c9753a338f500b00bdf.tar.gz |
QML UI: make gas mix validator case insensitive
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/DiveDetailsEdit.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveDetailsEdit.qml b/mobile-widgets/qml/DiveDetailsEdit.qml index 37d0c813d..d8d4c0f30 100644 --- a/mobile-widgets/qml/DiveDetailsEdit.qml +++ b/mobile-widgets/qml/DiveDetailsEdit.qml @@ -187,7 +187,7 @@ Item { id: txtGasMix readOnly: (text == "cannot edit multiple gases" ? true : false) 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 { |