I’m using the FileBrowserComponent class to show a list of files and I’d like to disable the “recent paths” ComboBox feature while keeping the rest of FileBrowserComponent’s functionality as is.
1. Add a new FileBrowserComponent#setRecentPathsPopupEnabled (bool) method. This might require a bit more work if the ComboBox that’s used internally is a bit overkill just to show a Label/Editor.
2. Add a new FileBrowserComponent#LookAndFeelMethods#createComboBox() method where we can provide a custom ComboBox class and override the ComboBox#showPopup method to just return and do nothing.