Browse Source

Update expanders when ModuleWidget is removed from RackWidget, so Module::onExpanderChange is dispatched.

tags/v2.2.3
Andrew Belt 1 year ago
parent
commit
cd2d14fa5e
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/app/RackWidget.cpp

+ 2
- 0
src/app/RackWidget.cpp View File

@@ -623,6 +623,8 @@ void RackWidget::removeModule(ModuleWidget* m) {


// Remove module from ModuleContainer // Remove module from ModuleContainer
internal->moduleContainer->removeChild(m); internal->moduleContainer->removeChild(m);

updateExpanders();
} }


ModuleWidget* RackWidget::getModule(int64_t moduleId) { ModuleWidget* RackWidget::getModule(int64_t moduleId) {


Loading…
Cancel
Save