From 78866028c185f4227bfb653ee2050d7feb2e2b78 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sat, 02 Jul 2005 16:54:00 +0000 Subject: fixxxxxxxx --- (limited to 'korganizer/kofilterview.cpp') diff --git a/korganizer/kofilterview.cpp b/korganizer/kofilterview.cpp index 1335d7e..3f08ef8 100644 --- a/korganizer/kofilterview.cpp +++ b/korganizer/kofilterview.cpp @@ -157,8 +157,6 @@ void KOCalEditView::selectCalAlarm(int id ,bool b ) } void KOCalEditView::selectReadOnly(int id ,bool b ) { - KOPrefs::instance()->getCalendar( id )->isReadOnly = b; - emit calendarReadonly ( id , b ); if ( KOPrefs::instance()->getCalendar( id )->isStandard && b ) { findNewStandard(); } else { @@ -174,6 +172,8 @@ void KOCalEditView::selectReadOnly(int id ,bool b ) } } mStdandardB.at(id-1)->setEnabled( !b ); + emit calendarReadonly ( id , b ); + KOPrefs::instance()->getCalendar( id )->isReadOnly = b; emit needsUpdate(); } -- cgit v0.9.0.2