Skip to content

Commit a604733

Browse files
committed
Fix indexing error when loading saved config
1 parent ec11df5 commit a604733

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/Plugins/LfpDisplayNode/LfpDisplayEditor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ void LfpDisplayEditor::loadVisualizerParameters(XmlElement* xml)
206206
{
207207
std::cout << "LfpDisplay found " << xmlNode->getIntAttribute("SubprocessorId") << std::endl;
208208
defaultSubprocessor = xmlNode->getIntAttribute("SubprocessorId");
209-
subprocessorSelection->setSelectedItemIndex(defaultSubprocessor + 1, sendNotification);
209+
subprocessorSelection->setSelectedItemIndex(defaultSubprocessor, sendNotification);
210210

211211
}
212212
}

0 commit comments

Comments
 (0)