[settings] fix storing of sound combo box index

This commit is contained in:
Jan Grewe 2021-03-12 12:15:10 +01:00
parent fc474bd29d
commit 7b233b8bbe

View File

@ -112,7 +112,7 @@ class AuditoryTaskSettings(TaskSettings):
def store_settings(self): def store_settings(self):
super().store_settings() super().store_settings()
self.settings.setValue("auditory_task/sound_index", self._sound_combo.currentIndex) self.settings.setValue("auditory_task/sound_index", self._sound_combo.currentIndex())
@property @property
def sound(self): def sound(self):