File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -331,8 +331,8 @@ void SpikeDisplayCanvas::loadSpikeDisplaySettingsFromXml (XmlElement* xmlNode)
331
331
spikeDisplay->invertSpikes (xmlNode->getBoolAttribute (" InvertSpikes" ));
332
332
invertSpikesButton->setToggleState (xmlNode->getBoolAttribute (" InvertSpikes" ), dontSendNotification);
333
333
lockThresholdsButton->setToggleState (xmlNode->getBoolAttribute (" LockThresholds" ), sendNotification);
334
- rangeSelection->setSelectedId (xmlNode->getIntAttribute (" Range" ), dontSendNotification);
335
- historySelection->setSelectedId (xmlNode->getIntAttribute (" History" ), sendNotification);
334
+ rangeSelection->setSelectedId (xmlNode->getIntAttribute (" Range" , ranges[ 2 ] ), dontSendNotification);
335
+ historySelection->setSelectedId (xmlNode->getIntAttribute (" History" , histories[ 1 ] ), sendNotification);
336
336
337
337
int plotIndex = -1 ;
338
338
You can’t perform that action at this time.
0 commit comments