Browse Source

Only send a single change message when DirectoryContentsList::refresh() is invoked

tags/2021-05-28
hogliux 7 years ago
parent
commit
c3c43bc738
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      modules/juce_gui_basics/filebrowser/juce_DirectoryContentsList.cpp

+ 2
- 1
modules/juce_gui_basics/filebrowser/juce_DirectoryContentsList.cpp View File

@@ -102,7 +102,8 @@ void DirectoryContentsList::clear()
void DirectoryContentsList::refresh()
{
clear();
stopSearching();
files.clear();
if (root.isDirectory())
{


Loading…
Cancel
Save