MainWindow: fixed removal of all feature sets so that the tab index changed slot is disconnected before. Fixes #1118

pull/1127/head
f4exb 2022-01-28 00:35:14 +01:00
rodzic 7158c6baf8
commit 26b8619bb1
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -318,6 +318,8 @@ MainWindow::~MainWindow()
delete m_dateTimeWidget;
delete m_showSystemWidget;
disconnect(ui->tabFeatures, SIGNAL(currentChanged(int)), this, SLOT(tabFeaturesIndexChanged()));
removeAllFeatureSets();
delete ui;