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()) {