From 0053517ec77f4690d27fa84bb8aed6d84c32c5e2 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Tue, 3 Sep 2019 18:48:48 -0400 Subject: [PATCH] Delete ModuleWidget children before deleting Module. --- src/app/ModuleWidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/ModuleWidget.cpp b/src/app/ModuleWidget.cpp index b88aaec9..998ac245 100644 --- a/src/app/ModuleWidget.cpp +++ b/src/app/ModuleWidget.cpp @@ -246,6 +246,7 @@ ModuleWidget::ModuleWidget() { } ModuleWidget::~ModuleWidget() { + clearChildren(); setModule(NULL); }