forked from qt-creator/qt-creator
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:
@@ -220,7 +220,7 @@ RowLayout {
|
||||
iconColor: urlChooser.textColor
|
||||
onClicked: {
|
||||
fileModel.openFileDialog()
|
||||
if (fileModel.path !== "")
|
||||
if (fileModel.fileName !== "")
|
||||
urlChooser.backendValue.value = fileModel.fileName
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user