diff --git a/plugins/builtin/source/content/views/view_store.cpp b/plugins/builtin/source/content/views/view_store.cpp index 30391dfaa..bd2a87f7a 100644 --- a/plugins/builtin/source/content/views/view_store.cpp +++ b/plugins/builtin/source/content/views/view_store.cpp @@ -261,7 +261,7 @@ namespace hex::plugin::builtin { bool removedFile = fs::remove(path / fs::path(fileName)); bool removedFolder = fs::remove(path / fs::path(fileName).stem()); - removed = removedFile || removedFolder; + removed = removed || removedFile || removedFolder; } return removed;