From 26b8619bb16a22d9cd862dc0422d7afaf480071e Mon Sep 17 00:00:00 2001 From: f4exb Date: Fri, 28 Jan 2022 00:35:14 +0100 Subject: [PATCH] MainWindow: fixed removal of all feature sets so that the tab index changed slot is disconnected before. Fixes #1118 --- sdrgui/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdrgui/mainwindow.cpp b/sdrgui/mainwindow.cpp index c68559bb0..754686e7f 100644 --- a/sdrgui/mainwindow.cpp +++ b/sdrgui/mainwindow.cpp @@ -318,6 +318,8 @@ MainWindow::~MainWindow() delete m_dateTimeWidget; delete m_showSystemWidget; + disconnect(ui->tabFeatures, SIGNAL(currentChanged(int)), this, SLOT(tabFeaturesIndexChanged())); + removeAllFeatureSets(); delete ui;