summaryrefslogtreecommitdiff
path: root/widgets/filedialog
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-02 23:07:21 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-02 23:07:21 +1000
commit1ee4d188c723666565c8d34d5deb2b3803921710 (patch)
treed0d5c15aac52b94333edcaff093011585ab5a3a0 /widgets/filedialog
parentconfig: add apps config (diff)
downloadcaelestia-shell-1ee4d188c723666565c8d34d5deb2b3803921710.tar.gz
caelestia-shell-1ee4d188c723666565c8d34d5deb2b3803921710.tar.bz2
caelestia-shell-1ee4d188c723666565c8d34d5deb2b3803921710.zip
filedialog: fix null error
Diffstat (limited to 'widgets/filedialog')
-rw-r--r--widgets/filedialog/CurrentItem.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/filedialog/CurrentItem.qml b/widgets/filedialog/CurrentItem.qml
index 65b78bd..e042445 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)
}
}