From a8e83154f0c7881b31251f7d1d7b2070765966cd Mon Sep 17 00:00:00 2001 From: WerWolv Date: Mon, 21 Feb 2022 18:40:51 +0100 Subject: [PATCH] fix: Remove button of content store entries not updating correctly --- plugins/builtin/source/content/views/view_store.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;