QmlDesigner: Fix for Image Browser cancel button

Task: QDS-3243

Change-Id: I25ead59b39f33927bd7283b19da3b4910d9ecf83
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Aleksei German
2020-12-03 13:22:46 +01:00
parent 7fbc926c64
commit b7628865fb

View File

@@ -220,7 +220,7 @@ RowLayout {
iconColor: urlChooser.textColor
onClicked: {
fileModel.openFileDialog()
if (fileModel.path !== "")
if (fileModel.fileName !== "")
urlChooser.backendValue.value = fileModel.fileName
}
}