File tree Expand file tree Collapse file tree
Source/Plugins/LfpDisplayNodeAlpha Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -573,7 +573,7 @@ int LfpDisplayCanvas::getChannelSampleRate(int channel)
573573
574574void LfpDisplayCanvas::setDrawableSampleRate (float samplerate)
575575{
576- std::cout << " setting the drawable sample rate in the canvas" << std::endl;
576+ // std::cout << "setting the drawable sample rate in the canvas" << std::endl;
577577 lfpDisplay->setDisplayedSampleRate (samplerate);
578578}
579579
@@ -2167,7 +2167,6 @@ int LfpDisplay::getRange(DataChannel::DataChannelTypes type)
21672167
21682168void LfpDisplay::setChannelHeight (int r, bool resetSingle)
21692169{
2170- std::cout << " setting channel height in LfpDisplay" << std::endl;
21712170 if (!getSingleChannelState ()) cachedDisplayChannelHeight = r;
21722171
21732172 for (int i = 0 ; i < numChans; i++)
@@ -2246,7 +2245,7 @@ float LfpDisplay::getDisplayedSampleRate()
22462245// already as a result of some other procedure
22472246void LfpDisplay::setDisplayedSampleRate (float samplerate)
22482247{
2249- std::cout << " Setting the displayed samplerate for LfpDisplayCanvas to " << samplerate << std::endl;
2248+ // std::cout << "Setting the displayed samplerate for LfpDisplayCanvas to " << samplerate << std::endl;
22502249 drawableSampleRate = samplerate;
22512250}
22522251
Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ void LfpDisplayEditor::updateSubprocessorSelectorOptions()
124124
125125 if (sampleRateToSet >= 0 )
126126 {
127+ subprocessorSelection->setSelectedId (sampleRateToSet + 1 , dontSendNotification);
127128 setCanvasDrawableSampleRate (sampleRateToSet);
128129 }
129130}
@@ -132,7 +133,6 @@ void LfpDisplayEditor::setCanvasDrawableSampleRate(int index)
132133{
133134 if (canvas)
134135 {
135- std::cout << " selected index = " << index << std::endl;
136136 ((LfpDisplayCanvas*)canvas.get ())->setDrawableSampleRate (*(inputSampleRates.begin () + (index)));
137137 }
138138}
You can’t perform that action at this time.
0 commit comments