[pim/akonadi-import-wizard] src: Use setValid(false) only
Laurent Montel <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 7ff284de19e42f89568ebc2e2861aba4217f8e79 by Laurent Montel.
Committed on 02/08/2026 at 08:43.
Pushed by mlaurent into branch 'master'.
Use setValid(false) only
M +0 -3 src/importwizard.cpp
https://invent.kde.org/pim/akonadi-import-wizard/-/commit/7ff284de19e42f89568ebc2e2861aba4217f8e79
diff --git a/src/importwizard.cpp b/src/importwizard.cpp
index db31b889..27934f20 100644
--- a/src/importwizard.cpp
+++ b/src/importwizard.cpp
@@ -331,8 +331,6 @@ void ImportWizard::next()
// Disable back & finish
setValid(currentPage(), false);
- finishButton()->setEnabled(false);
-
auto info = new MailImporter::FilterInfo();
auto filterImporter = new MailImporter::FilterImporterAkonadi(info);
auto infoGui = new ImportWizardFilterInfoGui(mImportpage, this);
@@ -350,7 +348,6 @@ void ImportWizard::next()
delete info;
// Enable finish & back buttons
setValid(currentPage(), true);
- finishButton()->setEnabled(true);
} else {
KAssistantDialog::next();
}