aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2020-10-15 18:16:21 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2020-10-15 17:03:49 +0000
commit5edac46edbb220e575f5d9d35f1ba4ea427fc1e9 (patch)
treed05ac8e250861a84f5ae2c3ee74379d4a678e759
parentc121e4858987822b254e24a2d7ebc51297e0a511 (diff)
QmlDesigner: Fix UrlChooser
Change-Id: Ie5a6297cf29dd6e9a120293346431c497805a28e Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/UrlChooser.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/UrlChooser.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/UrlChooser.qml
index a1627fb874..3c51254337 100644
--- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/UrlChooser.qml
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/UrlChooser.qml
@@ -221,7 +221,7 @@ RowLayout {
onClicked: {
fileModel.openFileDialog()
if (fileModel.path !== "")
- urlChooser.backendValue.value = fileModel.path
+ urlChooser.backendValue.value = fileModel.fileName
}
}
}