We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57242f2 commit 84de117Copy full SHA for 84de117
1 file changed
Source/Processors/SpikeSorter/SpikeSorter.cpp
@@ -523,9 +523,11 @@ bool SpikeSorter::removeElectrode(int index)
523
void SpikeSorter::setElectrodeName(int index, String newName)
524
{
525
mut.enter();
526
- if ((electrodes.size() > 0) && (index > 0))
527
- electrodes[index-1]->name = newName;
528
- updateSinks(electrodes[index-1]->electrodeID, newName);
+ if ((electrodes.size() > 0) && (index > 0))
+ {
+ electrodes[index - 1]->name = newName;
529
+ updateSinks(electrodes[index - 1]->electrodeID, newName);
530
+ }
531
mut.exit();
532
}
533
0 commit comments