summaryrefslogtreecommitdiffabout
path: root/microkde
Side-by-side diff
Diffstat (limited to 'microkde') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kresources/configdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/microkde/kresources/configdialog.cpp b/microkde/kresources/configdialog.cpp
index 24e82bc..55253c0 100644
--- a/microkde/kresources/configdialog.cpp
+++ b/microkde/kresources/configdialog.cpp
@@ -126,42 +126,42 @@ void ConfigDialog::slotNameChanged( const QString &text)
enableButtonOK( !text.isEmpty() );
}
void ConfigDialog::setReadOnly( bool value )
{
if (mPersistentReadOnly == false)
mReadOnly->setChecked( value );
else
mReadOnly->setChecked( true );
}
void ConfigDialog::setIncludeInSync( bool value )
{
if (mPersistentReadOnly == false)
mIncludeInSync->setChecked( value );
else
- mIncludeInSync->setChecked( true );
+ mIncludeInSync->setChecked( false );
}
void ConfigDialog::setPersistentReadOnly( bool value )
{
mPersistentReadOnly = value;
if (value == true) {
setReadOnly( true );
- setIncludeInSync( true );
+ setIncludeInSync( false );
}
mReadOnly->setEnabled( !value );
mIncludeInSync->setEnabled (!value );
}
void ConfigDialog::accept()
{
if ( mName->text().isEmpty() ) {
KMessageBox::sorry( this, i18n( "Please enter a resource name" ) );
return;
}
mResource->setResourceName( mName->text() );
mResource->setReadOnly( mReadOnly->isChecked() );