From cd2d14fa5e0d055c5b831a5c6784976051527953 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sun, 15 Jan 2023 01:25:42 -0500 Subject: [PATCH] Update expanders when ModuleWidget is removed from RackWidget, so Module::onExpanderChange is dispatched. --- src/app/RackWidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/RackWidget.cpp b/src/app/RackWidget.cpp index ccea29fb..b37b57f8 100644 --- a/src/app/RackWidget.cpp +++ b/src/app/RackWidget.cpp @@ -623,6 +623,8 @@ void RackWidget::removeModule(ModuleWidget* m) { // Remove module from ModuleContainer internal->moduleContainer->removeChild(m); + + updateExpanders(); } ModuleWidget* RackWidget::getModule(int64_t moduleId) {