1
0
Fork 0
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:
reuk 2022-09-30 15:20:53 +01:00
parent 69e0727ffd
commit d621d46ca8
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -74,6 +74,7 @@ void FileListComponent::setSelectedFile (const File& f)
{
fileWaitingToBeSelected = File();
updateContent();
selectRow (i);
return;
}