summaryrefslogtreecommitdiffabout
path: root/korganizer/kolistview.cpp
authorzautrix <zautrix>2005-07-01 11:19:13 (UTC)
committer zautrix <zautrix>2005-07-01 11:19:13 (UTC)
commit5d603fd22bc8126c6a9a6f377701669d3cee18f2 (patch) (side-by-side diff)
tree9fdef25d24a3a57e3ecf5ae2e4b1cc3d3fb0e0bf /korganizer/kolistview.cpp
parent409f5296344084e22833b35c03923b89d7be653b (diff)
downloadkdepimpi-5d603fd22bc8126c6a9a6f377701669d3cee18f2.zip
kdepimpi-5d603fd22bc8126c6a9a6f377701669d3cee18f2.tar.gz
kdepimpi-5d603fd22bc8126c6a9a6f377701669d3cee18f2.tar.bz2
many menu fixes
Diffstat (limited to 'korganizer/kolistview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kolistview.cpp3
1 files changed, 2 insertions, 1 deletions
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();
}
}