FilePicker: debugging and improvements.

This commit is contained in:
ItsLemmy
2025-09-26 23:18:59 -04:00
parent 96d3051151
commit f8ee0bb8df
6 changed files with 83 additions and 55 deletions
@@ -90,8 +90,7 @@ ColumnLayout {
NFilePicker {
id: imagePicker
title: I18n.tr("bar.widget-settings.control-center.select-custom-icon")
selectFiles: true
selectFolders: false
selectionMode: "files"
nameFilters: ["*.jpg", "*.jpeg", "*.png", "*.gif", "*.pnm", "*.bmp"]
initialPath: Quickshell.env("HOME")
onAccepted: paths => {