From 5d603fd22bc8126c6a9a6f377701669d3cee18f2 Mon Sep 17 00:00:00 2001 From: zautrix Date: Fri, 01 Jul 2005 11:19:13 +0000 Subject: many menu fixes --- (limited to 'korganizer/kolistview.cpp') diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp index 43e1113..517677c 100644 --- a/korganizer/kolistview.cpp +++ b/korganizer/kolistview.cpp @@ -438,7 +438,8 @@ void KOListView::populateCalPopup() mCalPopup->clear(); KopiCalendarFile * kkf = KOPrefs::instance()->mCalendars.first(); while ( kkf ) { - mCalPopup->insertItem( kkf->mName, kkf->mCalNumber); + int index = mCalPopup->insertItem( kkf->mName, kkf->mCalNumber); + mCalPopup->setItemEnabled( index, !kkf->isReadOnly ); kkf = KOPrefs::instance()->mCalendars.next(); } } -- cgit v0.9.0.2