Commit 591191f1 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner: Show expression in UrlChooser



If an Url is an expression we show the expression.

Task-number: QTCREATORBUG-13328
Change-Id: Id615a701f540082ac25a898e6d3a104b833b7eec
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent 8f828fc9
......@@ -72,7 +72,13 @@ RowLayout {
editText = textValue
}
property string textValue: backendValue.valueToString
property string textValue: {
if (backendValue.isBound)
return backendValue.expression
return backendValue.valueToString
}
onTextValueChanged: {
setCurrentText(textValue)
}
......
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