Closed hendrikverdonck closed 2 years ago
As explained here https://stackoverflow.com/questions/29835413/cant-add-extension-to-file-in-qfiledialog, setDefaultSuffix is a static function. All proposed solutions are a bit cumbersome. I chose to just manually check if the filename ends on .nc and correct it if necessary.
setDefaultSuffix seems the method I'm looking for, but does not seem to work yet