diff --git a/src/nfd_zenity.c b/src/nfd_zenity.c index ba4d978..e97a11f 100644 --- a/src/nfd_zenity.c +++ b/src/nfd_zenity.c @@ -258,6 +258,7 @@ nfdresult_t NFD_SaveDialog( const nfdchar_t *filterList, command[0] = strdup("zenity"); command[1] = strdup("--file-selection"); command[2] = strdup("--title=Save File"); + command[3] = strdup("--save"); char* stdOut = NULL; nfdresult_t result = ZenityCommon(command, commandLen, defaultPath, filterList, &stdOut);