Skip to content

Commit

Permalink
Fix potential crash when using remote config
Browse files Browse the repository at this point in the history
  • Loading branch information
medengineer committed Jan 26, 2024
1 parent ced7825 commit 757b5b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/NeuropixEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,8 @@ void BackgroundLoader::run()
LOGC(" Updating queue for probe ", probe->name);
thread->updateProbeSettingsQueue(ProbeSettings(probe->settings));
}

editor->checkCanvas();

//}
}
Expand Down
2 changes: 2 additions & 0 deletions Source/NeuropixEditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,8 @@ class NeuropixEditor : public VisualizerEditor,
/** Select a data source button */
void selectSource(DataSource* source);

void checkCanvas() { checkForCanvas(); };

OwnedArray<SourceButton> sourceButtons;

ScopedPointer<BackgroundLoader> uiLoader;
Expand Down

0 comments on commit 757b5b4

Please sign in to comment.