summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/NodeModule.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index 20eebdd1..9b0a3743 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -70,6 +70,8 @@ NodeModule::NodeModule(PatchCanvas& canvas,
NodeModule::~NodeModule()
{
+ embed_gui(false);
+
NodeControlWindow* win = App::instance().window_factory()->control_window(_node);
delete win; // Will be removed from window factory via signal
}