-rw-r--r-- | korganizer/kofilterview.cpp | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/korganizer/kofilterview.cpp b/korganizer/kofilterview.cpp index 9709324..a8a3052 100644 --- a/korganizer/kofilterview.cpp +++ b/korganizer/kofilterview.cpp | |||
@@ -182,6 +182,8 @@ void KOCalEditView::selectReadOnly(int id ,bool b ) | |||
182 | KOPrefs::instance()->getCalendar( 1 )->isStandard = true; | 182 | KOPrefs::instance()->getCalendar( 1 )->isStandard = true; |
183 | mStdandardB.at(0)->setChecked( true ); | ||
184 | mStdandardB.at(id-1)->setChecked( false ); | ||
183 | emit setCalendarDefault ( 1 ); | 185 | emit setCalendarDefault ( 1 ); |
184 | } | 186 | } |
187 | mStdandardB.at(id-1)->setEnabled( !b ); | ||
185 | emit needsUpdate(); | 188 | emit needsUpdate(); |
186 | QTimer::singleShot( 0, this, SLOT ( readConfig() ) ); | ||
187 | 189 | ||
@@ -281,11 +283,2 @@ void KOCalEditView::readConfig() | |||
281 | 283 | ||
282 | #if 0 | ||
283 | addBut = new QPushButton ( mw ); | ||
284 | mainLayout->addWidget( addBut,0,6 ); | ||
285 | addBut->setPixmap ( SmallIcon("minus")); | ||
286 | connect(addBut,SIGNAL(clicked()),SLOT(deleteAll())); | ||
287 | addBut->setMaximumWidth( addBut->sizeHint().height() ); | ||
288 | #endif | ||
289 | |||
290 | |||
291 | KopiCalendarFile * kkf = KOPrefs::instance()->mCalendars.first(); | 284 | KopiCalendarFile * kkf = KOPrefs::instance()->mCalendars.first(); |