summaryrefslogtreecommitdiff
path: root/components/filedialog/DialogButtons.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-02 18:40:31 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-02 18:40:31 +1000
commite70cb285acf53516b20c02ba167a801157576395 (patch)
tree17640552aa6cdf6ce4654ecbdd75a70570155599 /components/filedialog/DialogButtons.qml
parentplugin/fsm: add showHidden & dirs filter (diff)
downloadcaelestia-shell-e70cb285acf53516b20c02ba167a801157576395.tar.gz
caelestia-shell-e70cb285acf53516b20c02ba167a801157576395.tar.bz2
caelestia-shell-e70cb285acf53516b20c02ba167a801157576395.zip
internal: use FileSystemModel for FileDialog
Diffstat (limited to 'components/filedialog/DialogButtons.qml')
-rw-r--r--components/filedialog/DialogButtons.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/filedialog/DialogButtons.qml b/components/filedialog/DialogButtons.qml
index c5b11dc..bde9ac2 100644
--- a/components/filedialog/DialogButtons.qml
+++ b/components/filedialog/DialogButtons.qml
@@ -52,7 +52,7 @@ StyledRect {
disabled: !root.dialog.selectionValid
function onClicked(): void {
- root.dialog.accepted(root.folder.currentItem.filePath);
+ root.dialog.accepted(root.folder.currentItem.modelData.path);
}
}