mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-10-11 00:09:55 +02:00
fixed fft smoothing not set on startup when enabled
This commit is contained in:
@@ -110,6 +110,7 @@ namespace displaymenu {
|
|||||||
gui::waterfall.setFFTHold(fftHold);
|
gui::waterfall.setFFTHold(fftHold);
|
||||||
fftSmoothing = core::configManager.conf["fftSmoothing"];
|
fftSmoothing = core::configManager.conf["fftSmoothing"];
|
||||||
fftSmoothingSpeed = core::configManager.conf["fftSmoothingSpeed"];
|
fftSmoothingSpeed = core::configManager.conf["fftSmoothingSpeed"];
|
||||||
|
gui::waterfall.setFFTSmoothing(fftSmoothing);
|
||||||
updateFFTSpeeds();
|
updateFFTSpeeds();
|
||||||
|
|
||||||
// Define and load UI scales
|
// Define and load UI scales
|
||||||
@@ -233,4 +234,4 @@ namespace displaymenu {
|
|||||||
ImGui::TextColored(ImVec4(1.0f, 1.0f, 0.0f, 1.0f), "Restart required.");
|
ImGui::TextColored(ImVec4(1.0f, 1.0f, 0.0f, 1.0f), "Restart required.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user