diff --git a/plugins/builtin/source/content/views/view_data_processor.cpp b/plugins/builtin/source/content/views/view_data_processor.cpp index ce505487b..549709be4 100644 --- a/plugins/builtin/source/content/views/view_data_processor.cpp +++ b/plugins/builtin/source/content/views/view_data_processor.cpp @@ -497,6 +497,12 @@ namespace hex::plugin::builtin { return node->getId() == id; }); + if (workspace.currNodeError.has_value()) { + if (workspace.currNodeError->node == node->get()) { + workspace.currNodeError.reset(); + } + } + // Remove the node from the workspace workspace.nodes.erase(node); }