Clear the file index on refresh
This commit is contained in:
parent
6f8078af45
commit
336847ee7c
1 changed files with 2 additions and 0 deletions
|
|
@ -57,6 +57,8 @@ void SfzFileScan::refreshScan(bool force)
|
||||||
if (!force && !isExpired())
|
if (!force && !isExpired())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
file_index_.clear();
|
||||||
|
|
||||||
for (const fs::path& dirPath : SfizzPaths::sfzDefaultPaths()) {
|
for (const fs::path& dirPath : SfizzPaths::sfzDefaultPaths()) {
|
||||||
std::error_code ec;
|
std::error_code ec;
|
||||||
const fs::directory_options dirOpts =
|
const fs::directory_options dirOpts =
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue