summaryrefslogtreecommitdiffabout
path: root/microkde/kresources
authorulf69 <ulf69>2004-10-13 22:22:18 (UTC)
committer ulf69 <ulf69>2004-10-13 22:22:18 (UTC)
commit909d25797c50fc38c435834a68aaf60bf87e32f9 (patch) (side-by-side diff)
tree6aaccef9033325ece72d95b39b3c0a7e591e73c3 /microkde/kresources
parent7c2a228f94d8bcb783ce6f3527cb2daa9221217b (diff)
downloadkdepimpi-909d25797c50fc38c435834a68aaf60bf87e32f9.zip
kdepimpi-909d25797c50fc38c435834a68aaf60bf87e32f9.tar.gz
kdepimpi-909d25797c50fc38c435834a68aaf60bf87e32f9.tar.bz2
bugfix: disable "IncludeInSync" if resource is readOnly, because it is an external resource
Diffstat (limited to 'microkde/kresources') (more/less context) (show 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
@@ -130,34 +130,34 @@ 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;