1
0
Fork 0
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:
jules 2013-10-28 10:16:55 +00:00
parent ab6314f9e3
commit 2969a9bc5c

View file

@ -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);