summaryrefslogtreecommitdiff
path: root/components/filedialog/CurrentItem.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/filedialog/CurrentItem.qml')
-rw-r--r--components/filedialog/CurrentItem.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/filedialog/CurrentItem.qml b/components/filedialog/CurrentItem.qml
index c06c91f..b051212 100644
--- a/components/filedialog/CurrentItem.qml
+++ b/components/filedialog/CurrentItem.qml
@@ -79,7 +79,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?.modelData.name)
}
}