From 84ce57e50501a758ca75c7ad8ba3f403893d3e70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20K=C3=A4berich?= Date: Sat, 5 Jun 2021 13:55:04 +0200 Subject: [PATCH] clear trace data in SA mode when initializing device --- Software/PC_Application/SpectrumAnalyzer/spectrumanalyzer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Software/PC_Application/SpectrumAnalyzer/spectrumanalyzer.cpp b/Software/PC_Application/SpectrumAnalyzer/spectrumanalyzer.cpp index a393668..7748c43 100644 --- a/Software/PC_Application/SpectrumAnalyzer/spectrumanalyzer.cpp +++ b/Software/PC_Application/SpectrumAnalyzer/spectrumanalyzer.cpp @@ -285,7 +285,7 @@ void SpectrumAnalyzer::initializeDevice() connect(window->getDevice(), &Device::SpectrumResultReceived, this, &SpectrumAnalyzer::NewDatapoint, Qt::UniqueConnection); // Configure initial state of device - window->getDevice()->Configure(settings); + SettingsChanged(); } nlohmann::json SpectrumAnalyzer::toJSON()