Skip to content

Commit

Permalink
Ensure spike plot appears when settings are updated
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiegle committed Mar 7, 2023
1 parent c4156a8 commit 2a49c24
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Source/SpikeSorterEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ void SpikeSorterEditor::comboBoxChanged(ComboBox* comboBox)

}

void SpikeSorterEditor::updateSettings()
{
selectedStreamHasChanged();
}

void SpikeSorterEditor::nextElectrode()
{
int numAvailable = electrodeList->getNumItems();
Expand Down
3 changes: 3 additions & 0 deletions Source/SpikeSorterEditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ class SpikeSorterEditor : public VisualizerEditor,
/** ComboBox::Listener callback*/
void comboBoxChanged(ComboBox* comboBox) override;

/** Called when settings are updated */
void updateSettings() override;

/** Selects the next available electrode */
void nextElectrode();

Expand Down

0 comments on commit 2a49c24

Please sign in to comment.