summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kio/kfile/kpropertiesdialog.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/kio/kfile/kpropertiesdialog.cpp b/kio/kfile/kpropertiesdialog.cpp
index 51b82aa1c..85110b6bc 100644
--- a/kio/kfile/kpropertiesdialog.cpp
+++ b/kio/kfile/kpropertiesdialog.cpp
@@ -2093,16 +2093,19 @@ void KFilePermissionsPropsPlugin::slotShowAdvancedPermissions() {
if ( col != 3 ) theNotSpecials.append( cb );
cba[row][col] = cb;
cb->setChecked(aPermissions & fperm[row][col]);
+ if ( d->canChangePermissions )
+ {
+ allDisable = false;
+ }
if ( aPartialPermissions & fperm[row][col] )
{
cb->setTristate();
- if( d->canChangePermissions ) {
- allDisable = false;
- }
cb->setNoChange();
}
else if (d->cbRecursive && d->cbRecursive->isChecked())
- cb->setTristate();
+ {
+ cb->setTristate();
+ }
cb->setEnabled( d->canChangePermissions );
gl->addWidget (cb, row+2, col+1);