summaryrefslogtreecommitdiffabout
path: root/korganizer/kofilterview.cpp
authorzautrix <zautrix>2005-07-02 16:54:00 (UTC)
committer zautrix <zautrix>2005-07-02 16:54:00 (UTC)
commit78866028c185f4227bfb653ee2050d7feb2e2b78 (patch) (unidiff)
tree899b85d02584992f608da22f48076f590483d2bd /korganizer/kofilterview.cpp
parent20c9e9cb71ad64aebfa27157bb152ece4e34c00a (diff)
downloadkdepimpi-78866028c185f4227bfb653ee2050d7feb2e2b78.zip
kdepimpi-78866028c185f4227bfb653ee2050d7feb2e2b78.tar.gz
kdepimpi-78866028c185f4227bfb653ee2050d7feb2e2b78.tar.bz2
fixxxxxxxx
Diffstat (limited to 'korganizer/kofilterview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kofilterview.cpp4
1 files changed, 2 insertions, 2 deletions
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 )
157} 157}
158void KOCalEditView::selectReadOnly(int id ,bool b ) 158void KOCalEditView::selectReadOnly(int id ,bool b )
159{ 159{
160 KOPrefs::instance()->getCalendar( id )->isReadOnly = b;
161 emit calendarReadonly ( id , b );
162 if ( KOPrefs::instance()->getCalendar( id )->isStandard && b ) { 160 if ( KOPrefs::instance()->getCalendar( id )->isStandard && b ) {
163 findNewStandard(); 161 findNewStandard();
164 } else { 162 } else {
@@ -174,6 +172,8 @@ void KOCalEditView::selectReadOnly(int id ,bool b )
174 } 172 }
175 } 173 }
176 mStdandardB.at(id-1)->setEnabled( !b ); 174 mStdandardB.at(id-1)->setEnabled( !b );
175 emit calendarReadonly ( id , b );
176 KOPrefs::instance()->getCalendar( id )->isReadOnly = b;
177 emit needsUpdate(); 177 emit needsUpdate();
178 178
179} 179}