-rw-r--r-- | korganizer/calendarview.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 2582931..68d1bc6 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -2748,5 +2748,5 @@ void CalendarView::checkConflictForEvent() return; if ( ! mConflictingEvent ) return; - if ( mConflictingEvent->doesFloat() ) { + if ( mConflictingEvent->isHoliday() || mConflictingEvent->isBirthday() || mConflictingEvent->isAnniversary() ) { mConflictingEvent = 0; return; @@ -2790,7 +2790,6 @@ void CalendarView::checkConflictForEvent() mViewManager->agendaView()->setStartHour( hour ); topLevelWidget()->setCaption( i18n("Conflict %1 <-> %2"). arg( mConflictingEvent->summary().left( 20 ) ).arg( cE->summary().left( 20 ) ) ); - return; } - + mConflictingEvent = 0; return; |