FIX: [STUDIO-1584] Mediafile: fix batch delete not work
Change-Id: I48b5897afdaa324f80cd9d5dbcd858c86903ef06
This commit is contained in:
parent
afcb41f821
commit
d480d526e1
1 changed files with 1 additions and 1 deletions
|
@ -148,8 +148,8 @@ void PrinterFileSystem::DeleteFiles(size_t index)
|
|||
file.flags |= FF_DELETED;
|
||||
++n;
|
||||
}
|
||||
if (n == 0) return;
|
||||
}
|
||||
if (n == 0) return;
|
||||
} else {
|
||||
if (index >= m_file_list.size())
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue