File tree Expand file tree Collapse file tree
Plugins/BasicSpikeDisplay/SpikeDisplayNode Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -262,11 +262,11 @@ void SpikeDisplayCanvas::saveCustomParametersToXml(XmlElement* xml)
262262
263263 plotNode->setAttribute (" isMonitored" , spikeDisplay->getMonitorStateForPlot (i));
264264
265- for (int j = 0 ; j < spikeDisplay->getNumChannelsForPlot (i ); j++)
265+ for (int j = 0 ; j < spikeDisplay->getNumChannelsForPlot (spikePlotIdx ); j++)
266266 {
267267 XmlElement* axisNode = plotNode->createNewChildElement (" AXIS" );
268- axisNode->setAttribute (" thresh" ,spikeDisplay->getThresholdForWaveAxis (i ,j));
269- axisNode->setAttribute (" range" ,spikeDisplay->getRangeForWaveAxis (i ,j));
268+ axisNode->setAttribute (" thresh" ,spikeDisplay->getThresholdForWaveAxis (spikePlotIdx ,j));
269+ axisNode->setAttribute (" range" ,spikeDisplay->getRangeForWaveAxis (spikePlotIdx ,j));
270270 }
271271 }
272272
You can’t perform that action at this time.
0 commit comments