Merge pull request #1331 from TheKodeToad/hungry-trash

Fix updating trashing resources
This commit is contained in:
seth 2023-07-10 16:31:43 -04:00 committed by Sefa Eyeoglu
parent 6cd259becd
commit 6f86e8b66e
No known key found for this signature in database
GPG key ID: E13DFD4B47127951
7 changed files with 11 additions and 15 deletions

View file

@ -156,7 +156,7 @@ bool ResourceFolderModel::uninstallResource(QString file_name)
{
for (auto& resource : m_resources) {
if (resource->fileinfo().fileName() == file_name) {
auto res = resource->destroy();
auto res = resource->destroy(false);
update();