-rw-r--r-- | korganizer/kofilterview.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/korganizer/kofilterview.cpp b/korganizer/kofilterview.cpp index 2b16347..361eec8 100644 --- a/korganizer/kofilterview.cpp +++ b/korganizer/kofilterview.cpp | |||
@@ -222,4 +222,7 @@ void KOCalEditView::deleteCal( int id ) | |||
222 | if ( KMessageBox::warningContinueCancel( this, i18n("The calendar <b>%1</b> is displaying file <b>%2</b><tr> Do you want to remove this calendar from KO/Pi? (The file is not removed, of course!)").arg(name).arg(file) ) != KMessageBox::Continue ) return; | 222 | if ( KMessageBox::warningContinueCancel( this, i18n("The calendar <b>%1</b> is displaying file <b>%2</b><tr> Do you want to remove this calendar from KO/Pi? (The file is not removed, of course!)").arg(name).arg(file) ) != KMessageBox::Continue ) return; |
223 | if ( kkf->isStandard ) | ||
224 | selectStdCal( 1, true ); | ||
223 | emit removeCalendar ( id ); | 225 | emit removeCalendar ( id ); |
224 | KOPrefs::instance()->mCalendars.remove ( kkf ); | 226 | KOPrefs::instance()->mCalendars.remove ( kkf ); |
227 | emit needsUpdate(); | ||
225 | readConfig(); | 228 | readConfig(); |
@@ -353,2 +356,3 @@ void KOCalEditView::addCal() | |||
353 | readConfig(); | 356 | readConfig(); |
357 | emit needsUpdate(); | ||
354 | } | 358 | } |