Updates to the save as functionality. Doing a save as without a file extension will autofill a default (.wav or .mid), and saving with an unsupported extension will throw an error (addresses #184). Save as will update the currently viewed file so that later saves will go to the correct location (addresses #191). Save as also now uses a different file browser than open, which both allows more specificity on what extensions to allow (such that MacOS will now natively reject an improper extension), and prevents a crash when trying to do save as before open (addresses #193).
Tested on Windows 10, Ubuntu 20.04, and MacOS 14.5 (ARM).
Updates to the save as functionality. Doing a save as without a file extension will autofill a default (.wav or .mid), and saving with an unsupported extension will throw an error (addresses #184). Save as will update the currently viewed file so that later saves will go to the correct location (addresses #191). Save as also now uses a different file browser than open, which both allows more specificity on what extensions to allow (such that MacOS will now natively reject an improper extension), and prevents a crash when trying to do save as before open (addresses #193).
Tested on Windows 10, Ubuntu 20.04, and MacOS 14.5 (ARM).