From dde85ee084cd0409369ec1914a86a0a7970852fd Mon Sep 17 00:00:00 2001 From: f4exb Date: Fri, 25 Mar 2022 02:53:25 +0100 Subject: [PATCH] Demod analyzer feature: change addRollupWidget placement to fix #1183. Fixes #1183 --- plugins/feature/demodanalyzer/demodanalyzergui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/feature/demodanalyzer/demodanalyzergui.cpp b/plugins/feature/demodanalyzer/demodanalyzergui.cpp index d16aefa9c..7b064fc4a 100644 --- a/plugins/feature/demodanalyzer/demodanalyzergui.cpp +++ b/plugins/feature/demodanalyzer/demodanalyzergui.cpp @@ -153,8 +153,6 @@ DemodAnalyzerGUI::DemodAnalyzerGUI(PluginAPI* pluginAPI, FeatureUISet *featureUI m_spectrumVis->setGLSpectrum(ui->glSpectrum); m_scopeVis->setSpectrumVis(m_spectrumVis); - m_featureUISet->addRollupWidget(this); - connect(this, SIGNAL(customContextMenuRequested(const QPoint &)), this, SLOT(onMenuDialogCalled(const QPoint &))); connect(getInputMessageQueue(), SIGNAL(messageEnqueued()), this, SLOT(handleInputMessages())); @@ -171,6 +169,8 @@ DemodAnalyzerGUI::DemodAnalyzerGUI(PluginAPI* pluginAPI, FeatureUISet *featureUI ui->glScope->connectTimer(MainCore::instance()->getMasterTimer()); connect(&MainCore::instance()->getMasterTimer(), SIGNAL(timeout()), this, SLOT(tick())); + m_featureUISet->addRollupWidget(this); + m_settings.setSpectrumGUI(ui->spectrumGUI); m_settings.setScopeGUI(ui->scopeGUI); m_settings.setRollupState(&m_rollupState);