mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-07-09 18:45:22 +02:00
Cleaned up UI code
This commit is contained in:
@ -68,7 +68,7 @@ namespace displaymenu {
|
||||
break;
|
||||
}
|
||||
}
|
||||
setFFTSize(FFTSizes[fftSizeId]);
|
||||
gui::mainWindow.setFFTSize(FFTSizes[fftSizeId]);
|
||||
|
||||
}
|
||||
|
||||
@ -100,7 +100,7 @@ namespace displaymenu {
|
||||
ImGui::SameLine();
|
||||
ImGui::SetNextItemWidth(menuWidth - ImGui::GetCursorPosX());
|
||||
if (ImGui::Combo("##test_fft_size", &fftSizeId, FFTSizesStr)) {
|
||||
setFFTSize(FFTSizes[fftSizeId]);
|
||||
gui::mainWindow.setFFTSize(FFTSizes[fftSizeId]);
|
||||
core::configManager.aquire();
|
||||
core::configManager.conf["fftSize"] = FFTSizes[fftSizeId];
|
||||
core::configManager.release(true);
|
||||
|
Reference in New Issue
Block a user