mirror of
https://github.com/nqrduck/nqrduck-spectrometer.git
synced 2024-12-22 08:17:49 +00:00
Added emission of active spectrometer name.
This commit is contained in:
parent
44c7f9a408
commit
fdb68f8412
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,9 @@ class SpectrometerModel(ModuleModel):
|
|||
def active_spectrometer(self, value):
|
||||
self._active_spectrometer = value
|
||||
self.active_spectrometer_changed.emit(value)
|
||||
spectrometer_module_name = value.model.toolbar_name
|
||||
logger.debug("Active spectrometer changed to %s", spectrometer_module_name)
|
||||
self.module.nqrduck_signal.emit("active_spectrometer_changed", spectrometer_module_name)
|
||||
|
||||
@property
|
||||
def available_spectrometers(self):
|
||||
|
|
Loading…
Reference in a new issue