Skip to content

Commit

Permalink
Fix signal/slot disconnect when opening import wizard
Browse files Browse the repository at this point in the history
* Fixes #11037
  • Loading branch information
droidmonkey committed Aug 25, 2024
1 parent c7d3182 commit 48d0f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/wizard/ImportWizardPageSelect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 48d0f2b

Please sign in to comment.