Added submodules to model.

This commit is contained in:
jupfi 2024-03-16 14:43:18 +01:00
parent 42afafd642
commit 36a277c26d

View file

@ -39,5 +39,6 @@ class SpectrometerModel(ModuleModel):
logger.debug("Added module: %s", spectrometer_module_name) logger.debug("Added module: %s", spectrometer_module_name)
self.spectrometer_added.emit(module) self.spectrometer_added.emit(module)
self.active_spectrometer = module self.active_spectrometer = module
self.add_submodule(spectrometer_module_name)