From 069d16f326537187f59441e4d8dc50ecbb00acec Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Fri, 30 Jul 2021 18:08:46 +0200 Subject: [PATCH] don't hide table --- src/filter/kmfilterdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/filter/kmfilterdialog.cpp b/src/filter/kmfilterdialog.cpp index 30cbc9b..e898404 100644 --- a/src/filter/kmfilterdialog.cpp +++ b/src/filter/kmfilterdialog.cpp @@ -510,7 +510,7 @@ void KMFilterDialog::slotFilterSelected(MailFilter *aFilter) mApplyOnAllFolders->setChecked(applyOnAllFolders); mApplyOnForTraditional->setChecked(applyOnTraditional); mApplyOnForChecked->setChecked(!applyOnForAll && !applyOnTraditional); - mAccountList->setVisible(mApplyOnForChecked->isEnabled() && mApplyOnForChecked->isChecked()); + mAccountList->setEnabled(mApplyOnForChecked->isEnabled() && mApplyOnForChecked->isChecked()); slotUpdateAccountList(); mApplyBeforeOut->setChecked(applyBeforeOut); mApplyOnOut->setChecked(applyOnOut); @@ -559,7 +559,7 @@ void KMFilterDialog::slotApplicabilityChanged() mApplyOnForAll->setEnabled(mApplyOnIn->isChecked()); mApplyOnForTraditional->setEnabled(mApplyOnIn->isChecked()); mApplyOnForChecked->setEnabled(mApplyOnIn->isChecked()); - mAccountList->setVisible(mApplyOnForChecked->isEnabled() && mApplyOnForChecked->isChecked()); + mAccountList->setEnabled(mApplyOnForChecked->isEnabled() && mApplyOnForChecked->isChecked()); // Advanced tab functionality - Update list of accounts this filter applies to if (!mApplyOnForAll->isChecked()) {