mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-17 06:35:55 +08:00
FIX: [STUDIO-1584] Mediafile: fix batch delete not work
Change-Id: I48b5897afdaa324f80cd9d5dbcd858c86903ef06
This commit is contained in:
parent
afcb41f821
commit
d480d526e1
@ -148,8 +148,8 @@ void PrinterFileSystem::DeleteFiles(size_t index)
|
|||||||
file.flags |= FF_DELETED;
|
file.flags |= FF_DELETED;
|
||||||
++n;
|
++n;
|
||||||
}
|
}
|
||||||
if (n == 0) return;
|
|
||||||
}
|
}
|
||||||
|
if (n == 0) return;
|
||||||
} else {
|
} else {
|
||||||
if (index >= m_file_list.size())
|
if (index >= m_file_list.size())
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user