Commit 675a0596 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.PropertyEditor: Using regExp instead of inputMask

This does work as expected.

Task-number: QTCREATORBUG-12018
Change-Id: I1ae4c2f9c222ffcc68a81ab545fe19ac253b0dbb
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@digia.com>
parent 085469b8
......@@ -130,7 +130,11 @@ Column {
LineEdit {
id: textField
inputMask: "\\#HHHHHHhh"
validator: RegExpValidator {
regExp: /#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?/g
}
showTranslateCheckBox: false
backendValue: colorEditor.backendendValue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment