From 0000f74badd326f62620d818a5e5d9944e55bda0 Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 13 Jun 2005 14:12:46 +0000 Subject: fixxii --- (limited to 'korganizer/kofilterview.cpp') diff --git a/korganizer/kofilterview.cpp b/korganizer/kofilterview.cpp index 2b16347..361eec8 100644 --- a/korganizer/kofilterview.cpp +++ b/korganizer/kofilterview.cpp @@ -220,8 +220,11 @@ void KOCalEditView::deleteCal( int id ) QString name = kkf->mName; QString file = kkf->mFileName; if ( KMessageBox::warningContinueCancel( this, i18n("The calendar %1 is displaying file %2 Do you want to remove this calendar from KO/Pi? (The file is not removed, of course!)").arg(name).arg(file) ) != KMessageBox::Continue ) return; + if ( kkf->isStandard ) + selectStdCal( 1, true ); emit removeCalendar ( id ); KOPrefs::instance()->mCalendars.remove ( kkf ); + emit needsUpdate(); readConfig(); } void KOCalEditView::infoCal( int id ) @@ -351,6 +354,7 @@ void KOCalEditView::addCal() kkf->mFileName = file; emit calendarAdded( kkf->mCalNumber ); readConfig(); + emit needsUpdate(); } void KOCalEditView::enableAll() { -- cgit v0.9.0.2