mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 21:05:56 -05:00
fix: ImNodes not being deinitialized correctly
This commit is contained in:
@@ -887,7 +887,9 @@ namespace hex::plugin::builtin {
|
||||
|
||||
bool popWorkspace = false;
|
||||
// Set the ImNodes context to the current workspace context
|
||||
auto prevContext = ImNodes::GetCurrentContext();
|
||||
ImNodes::SetCurrentContext(workspace.context.get());
|
||||
ON_SCOPE_EXIT { ImNodes::SetCurrentContext(prevContext); };
|
||||
|
||||
this->drawContextMenus(workspace);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user