mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Made DirectoryContentsList send a change message when switching between empty folders.
This commit is contained in:
parent
ab6314f9e3
commit
2969a9bc5c
1 changed files with 1 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ void DirectoryContentsList::setDirectory (const File& directory,
|
|||
{
|
||||
clear();
|
||||
root = directory;
|
||||
changed();
|
||||
|
||||
// (this forces a refresh when setTypeFlags() is called, rather than triggering two refreshes)
|
||||
fileTypeFlags &= ~(File::findDirectories | File::findFiles);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue