mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
FileListComponent: Update content before selecting row to ensure totalItems is up-to-date
This commit is contained in:
parent
69e0727ffd
commit
d621d46ca8
1 changed files with 1 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ void FileListComponent::setSelectedFile (const File& f)
|
|||
{
|
||||
fileWaitingToBeSelected = File();
|
||||
|
||||
updateContent();
|
||||
selectRow (i);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue