From 97d9c5c03e93f2666bb1658392b432d83581a0e6 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Tue, 27 Aug 2024 14:19:15 -0400 Subject: [PATCH] Clear map list filter on project close --- src/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 49c04394..23b7eb06 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1098,6 +1098,7 @@ void MainWindow::clearProjectUI() { const QSignalBlocker blocker7(ui->comboBox_Type); const QSignalBlocker blocker8(ui->comboBox_DiveMap); const QSignalBlocker blocker9(ui->comboBox_EmergeMap); + const QSignalBlocker blockerA(ui->lineEdit_filterBox); ui->comboBox_Song->clear(); ui->comboBox_Location->clear(); @@ -1108,6 +1109,7 @@ void MainWindow::clearProjectUI() { ui->comboBox_Type->clear(); ui->comboBox_DiveMap->clear(); ui->comboBox_EmergeMap->clear(); + ui->lineEdit_filterBox->clear(); // Clear map list mapListModel->clear();