summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/SpectrumGUIClass.cc
diff options
context:
space:
mode:
authorJosh Blum2013-06-11 15:04:51 -0700
committerJosh Blum2013-06-11 15:04:51 -0700
commit62402b122cd3f4f3fb80325771d6117f75798b11 (patch)
treec3560564ed73adbd212c18a2e96d4ef72ebaba09 /gr-qtgui/lib/SpectrumGUIClass.cc
parentf4fc952e58ce318298258926f7382ed28b92bfae (diff)
parent2b7292593d898d7ce9a851c7ae7f168f200ea1c1 (diff)
downloadgnuradio-62402b122cd3f4f3fb80325771d6117f75798b11.tar.gz
gnuradio-62402b122cd3f4f3fb80325771d6117f75798b11.tar.bz2
gnuradio-62402b122cd3f4f3fb80325771d6117f75798b11.zip
Merge branch 'v3.6.4_branch' into v3.6.4git_gras_support
Diffstat (limited to 'gr-qtgui/lib/SpectrumGUIClass.cc')
-rw-r--r--gr-qtgui/lib/SpectrumGUIClass.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gr-qtgui/lib/SpectrumGUIClass.cc b/gr-qtgui/lib/SpectrumGUIClass.cc
index d2dbc7772..3efba3f40 100644
--- a/gr-qtgui/lib/SpectrumGUIClass.cc
+++ b/gr-qtgui/lib/SpectrumGUIClass.cc
@@ -133,6 +133,10 @@ SpectrumGUIClass::OpenSpectrumWindow(QWidget* parent,
// GUI Thread only
qApp->processEvents();
+
+ // Set the FFT Size combo box to display the right number
+ int idx = _spectrumDisplayForm->FFTSizeComboBox->findText(QString("%1").arg(_fftSize));
+ _spectrumDisplayForm->FFTSizeComboBox->setCurrentIndex(idx);
}
void