File Chooser Issue

Hi There,

I have some simple code for choosing multiple wav files:

FileChooser chooser ("Select a single or multiple Wav files...", {}, "*.wav");

if (chooser.browseForMultipleFilesOrDirectories()){
    auto files = chooser.getResults();

This works fine, but when I hit the cancel button from the chooser dialog I get the following error on the chooser.browse line:

EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)

Any ideas? I’m developing on OSX 10.13.5

Many thanks!

Just wanted to say, I have the same code running to select a single file, and the cancel button works fine when using chooser.browseForFileToOpen(). it’s only browseForMultipleFilesOrDirectories() that has the error