diff --git a/widgets/filedialog/CurrentItem.qml b/widgets/filedialog/CurrentItem.qml index 65b78bd7..e0424455 100644 --- a/widgets/filedialog/CurrentItem.qml +++ b/widgets/filedialog/CurrentItem.qml @@ -83,7 +83,7 @@ Item { anchors.rightMargin: Appearance.padding.larger - Appearance.padding.small anchors.bottomMargin: Appearance.padding.normal - Appearance.padding.small - text: qsTr(`"%1" selected`).arg(root.currentItem.fileName) + text: qsTr(`"%1" selected`).arg(root.currentItem?.fileName) } }