Fixed enabling of Ok button in advanced permission property dialog. This resolves bug 2375.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 77de34391c)
r14.0.x
Michele Calgaro 4 years ago
parent 99230dfa11
commit 3a54b40c67
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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);

Loading…
Cancel
Save