Skip to content
This repository has been archived by the owner on Oct 1, 2023. It is now read-only.

Commit

Permalink
Fix analysis not updating after selecting dataset (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
calcmogul authored Sep 29, 2023
1 parent 4063da8 commit 625ff04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sysid-application/src/main/native/cpp/view/Analyzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ bool Analyzer::DisplayResetAndUnitOverride() {
if (type == analysis::kDrivetrain) {
ImGui::SetNextItemWidth(ImGui::GetFontSize() * kTextBoxWidthMultiple);
if (ImGui::Combo("Dataset", &m_dataset, kDatasets, 3)) {
PrepareData();
m_settings.dataset =
static_cast<AnalysisManager::Settings::DrivetrainDataset>(m_dataset);
PrepareData();
}
ImGui::SameLine();
} else {
Expand Down

0 comments on commit 625ff04

Please sign in to comment.