fix(ModuleServiceImpl#restoreVisibility): ensure only active client modules change display state

This commit is contained in:
extio-de
2026-10-02 19:48:14 +02:00
parent 84eb8927c2
commit c92355fc93

View File

@@ -306,7 +306,9 @@ public class ModuleServiceImpl implements ModuleService, ApplicationListener<Con
}
for (final AbstractClientModule module : this.lastVisibleStates.pop()) {
this.changeDisplayState(module.getId(), true);
if (this.modulesActiveClientModulesView.contains(module)) {
this.changeDisplayState(module.getId(), true);
}
}
}
}