FileChooserDialogBox doc error

just scratching my head trying to figure out how his new juce file chooser should be used, when i realised that my confusion came from an error in the code example…

        WildcardFileFilter wildcardFilter (T("*.foo"), T("Foo files"));

        FileBrowserComponent browser (FileBrowserComponent::loadFileMode,

        FileChooserDialogBox dialogBox (T("Open some kind of file"),
                                        T("Please choose some kind of file that you want to open..."),

        if (
            File selectedFile = dialogBox.getCurrentFile(); // <-HERE

that should be browser not dialogBox, right? let me know if i’m just having a remedial day…

ah yes, you’re quite right! I guess syntax errors in the comments don’t show up too often.