mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 09:18:54 -05:00
Add missing range extension
This commit is contained in:
parent
4d631b091e
commit
277b2b4d18
@ -904,8 +904,7 @@ void GLSpectrumGUI::setFFTSize(int log2FFTSize)
|
||||
|
||||
void GLSpectrumGUI::setMaximumOverlap()
|
||||
{
|
||||
int halfSize = m_settings.m_fftSize/2;
|
||||
ui->fftOverlap->setMaximum(halfSize);
|
||||
ui->fftOverlap->setMaximum(m_settings.m_fftSize -1);
|
||||
int value = ui->fftOverlap->value();
|
||||
ui->fftOverlap->setValue(value);
|
||||
ui->fftOverlap->setToolTip(tr("FFT overlap %1 %").arg((value/(float)m_settings.m_fftSize)*100.0f));
|
||||
|
Loading…
Reference in New Issue
Block a user