Skip to content

Commit

Permalink
SpikeViewer: fix loading range and history parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
anjaldoshi committed Sep 5, 2024
1 parent 85a139f commit 5088cca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Plugins/SpikeViewer/SpikeDisplayCanvas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ void SpikeDisplayCanvas::loadSpikeDisplaySettingsFromXml (XmlElement* xmlNode)
spikeDisplay->invertSpikes (xmlNode->getBoolAttribute ("InvertSpikes"));
invertSpikesButton->setToggleState (xmlNode->getBoolAttribute ("InvertSpikes"), dontSendNotification);
lockThresholdsButton->setToggleState (xmlNode->getBoolAttribute ("LockThresholds"), sendNotification);
rangeSelection->setSelectedId (xmlNode->getIntAttribute ("Range"), dontSendNotification);
historySelection->setSelectedId (xmlNode->getIntAttribute ("History"), sendNotification);
rangeSelection->setSelectedId (xmlNode->getIntAttribute ("Range", ranges[2]), dontSendNotification);
historySelection->setSelectedId (xmlNode->getIntAttribute ("History", histories[1]), sendNotification);

int plotIndex = -1;

Expand Down

0 comments on commit 5088cca

Please sign in to comment.