Cross platform (Windows, Mac, Linux) native file dialog library with C and C++ bindings, based on mlabbe/nativefiledialog.
598
stars
89
forks
source link
Portal: Support defaultPath for OpenDialog, OpenDialogMultiple, and PickFolder #108
Closed
btzy closed 1 year ago
The
current_folder
key will be supported by the OpenFile() portal soon in PR https://github.com/flatpak/xdg-desktop-portal/pull/1045 (issue https://github.com/flatpak/xdg-desktop-portal/issues/796). This PR makes NFDe set thecurrent_folder
key appropriately. On systems with an old version of xdg-desktop-portal installed, the new key will be ignored and we will get the old behaviour (of opening some default folder).Resolves #66.
Test: