0
0
mirror of https://github.com/keepassxreboot/keepassxc.git synced 2024-09-19 20:02:18 +02:00

Fix signal/slot disconnect when opening import wizard

* Fixes #11037
This commit is contained in:
Jonathan White 2024-07-07 17:03:27 -04:00
parent c7d318236f
commit 48d0f2b159

View File

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