Commit e03c0e0b authored by Hélène Ortiz's avatar Hélène Ortiz

fix bug: actual slot value from changer was not correctly refresher in

sequencer
parent 264ad760
......@@ -182,6 +182,7 @@ void SampleSequencer::postConfiguration() {
registerUpdater(sampleChanger->currentSlotMaxNum, &SampleSequencer::updateMaxSlot, this);
registerUpdater(sampleChanger->nickname, &SampleSequencer::updateNickname, this);
registerUpdater(acquisitionTime, &SampleSequencer::updateAcquisitionTime, this);
registerUpdater(sampleChanger->slot, &SampleSequencer::updateSlot, this);
registerProgression(sampleChanger, &SampleSequencer::updateProgression, this);
registerProgression(count, &SampleSequencer::updateProgression, this);
......@@ -224,6 +225,11 @@ void SampleSequencer::updateNickname() {
}
void SampleSequencer::updateSlot() {
slot = sampleChanger->slot();
}
void SampleSequencer::updateAcquisitionTime(int32 index) {
//Calculate total time
totalTime = 0;
......
......@@ -86,6 +86,7 @@ private:
virtual void updateNickname();
virtual void updateAcquisitionTime(int32 index);
void updateProgression();
void updateSlot();
bool m_CountStarted;
bool m_ChangerStarted;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment