From 3c145a6ef7c3dbf82f51b18a9a136765cb284560 Mon Sep 17 00:00:00 2001 From: gwm17 Date: Fri, 7 Oct 2022 10:13:43 -0400 Subject: [PATCH] Really fix digitizer panel --- src/Editor/DigitizerPanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Editor/DigitizerPanel.cpp b/src/Editor/DigitizerPanel.cpp index bf620da..c025f03 100644 --- a/src/Editor/DigitizerPanel.cpp +++ b/src/Editor/DigitizerPanel.cpp @@ -296,7 +296,7 @@ namespace Daqromancy { changed = true; } ImGui::TableNextColumn(); - if (ImGui::InputInt(fmt::format("##flatTopDelay_{0}", i).c_str(), &channel.decayTimeConst, 0, 0)) + if (ImGui::InputInt(fmt::format("##flatTopDelay_{0}", i).c_str(), &channel.flatTopDelay, 0, 0)) { changed = true; }