1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Minor fixes to LassoComponent, ReferenceCountedArray, Plugin demo resizing. Added deselect method to FileBrowserComponent, made TreeViews update widths when scrolling sideways. Jucer development.

This commit is contained in:
Julian Storer 2010-04-29 10:46:26 +01:00
parent 49b47cc866
commit 636ed22863
30 changed files with 509 additions and 378 deletions

View file

@ -250,10 +250,13 @@ const File FileTreeComponent::getSelectedFile (const int index) const
{
const FileListTreeItem* const item = dynamic_cast <const FileListTreeItem*> (getSelectedItem (index));
if (item != 0)
return item->file;
return item != 0 ? item->file
: File::nonexistent;
}
return File::nonexistent;
void FileTreeComponent::deselectAllFiles()
{
clearSelectedItems();
}
void FileTreeComponent::scrollToTop()