Hi Jules,
What about adding this function in FileBrowserComponent:
bool FileBrowserComponent::keyPressed(const KeyPress &key) {
if (key.getModifiers().isCommandDown() && key.getKeyCode() == 'H' || key.getKeyCode() == 'h') {
fileList->setIgnoresHiddenFiles (!fileList->getIgnoresHiddenFiles());
fileList->refresh();
return true;
}
return false;
}
That way the “ctrl-H” shortcut that is quite “standard” on Linux for toggling the display of hidden files works, and other OS get it for free also !
(I was really pleased to see that this functionality could be added with so few lines of code !)
