From 48d0f2b1599f34ca2a3ead4a8c974f17e3839733 Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Sun, 7 Jul 2024 17:03:27 -0400 Subject: [PATCH] Fix signal/slot disconnect when opening import wizard * Fixes #11037 --- src/gui/wizard/ImportWizardPageSelect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/wizard/ImportWizardPageSelect.cpp b/src/gui/wizard/ImportWizardPageSelect.cpp index 05b8f0990..43b0e8f2a 100644 --- a/src/gui/wizard/ImportWizardPageSelect.cpp +++ b/src/gui/wizard/ImportWizardPageSelect.cpp @@ -127,7 +127,7 @@ void ImportWizardPageSelect::updateDatabaseChoices() const if (mainWindow) { for (auto dbWidget : mainWindow->getOpenDatabases()) { // Remove all connections - disconnect(dbWidget, nullptr, nullptr, nullptr); + disconnect(dbWidget, nullptr, this, nullptr); // Skip over locked databases if (dbWidget->isLocked()) {