FilenameComponent problem

Is it possible to disallow a user from manually enterting text into a FilenameChooser and only allow them to specify a file through the “Browse” button? My reasoning for this is that if a user types some arb garbage in the textbox space (for example “sawwd”) the program will crash due to a File object not being properly initialized.

Good request. (Though the program only throws an assertion, so a release build won’t actually crash)