diff options
Diffstat (limited to 'src/gui/PatchCanvas.cpp')
-rw-r--r-- | src/gui/PatchCanvas.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp index 47cd552b..8b2660c6 100644 --- a/src/gui/PatchCanvas.cpp +++ b/src/gui/PatchCanvas.cpp @@ -621,11 +621,11 @@ destroy_module(GanvNode* node, void* data) if (!GANV_IS_MODULE(node)) { return; } - + App* app = (App*)data; Ganv::Module* module = Glib::wrap(GANV_MODULE(node)); NodeModule* node_module = dynamic_cast<NodeModule*>(module); - + if (node_module) { app->engine()->del(node_module->node()->path()); } else { |