Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fallback to OS-independent file-saving dialog on macOS.
On macOS, if we don't get a File from the macOS-specific MacUIUtil#saveFile() method, assume this is due to a failure of that method (or of the underlying JRE) to even show the native file-choosing dialog (as was shown to happen, #1106), and fallback to the OS-independent method. This allow users affected by the "never-showing-native-dialog" bug to still save their files, at the price of asking users not affected by that same bug to click "cancel" on two consecutive dialogs if they do want to cancel the save operation at the file-choosing step.
- Loading branch information