Skip to content

Commit 2e15420

Browse files
committed
Fix LFPViewer resizing buffers crash
1 parent af07b92 commit 2e15420

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Plugins/LfpDisplayNode/LfpDisplayNode.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,12 @@ void LfpDisplayNode::updateSettings()
135135

136136
ttlState[eventSourceNodes[i]] = 0;
137137
}
138-
139-
resizeBuffer();
140138

141139
// update the editor's subprocessor selection display and sample rate
142140
LfpDisplayEditor * ed = (LfpDisplayEditor*)getEditor();
143141
ed->updateSubprocessorSelectorOptions();
142+
143+
resizeBuffer();
144144
}
145145

146146
uint32 LfpDisplayNode::getEventSourceId(const EventChannel* event)

0 commit comments

Comments
 (0)