Summary: | after adding an event which doesn't satisfy filter criterion, it is shown although it shouldn't be | ||
---|---|---|---|
Product: | [Applications] korganizer | Reporter: | Andy Neitzke <neitzke> |
Component: | general | Assignee: | Cornelius Schumacher <schumacher> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Andy Neitzke
2003-11-14 01:34:36 UTC
Subject: kdepim/korganizer CVS commit by cschumac: Apply filter to new events before showing them. CCMAIL: 68160-done@bugs.kde.org M +3 -0 koagendaview.cpp 1.125 --- kdepim/korganizer/koagendaview.cpp #1.124:1.125 @@ -50,4 +50,5 @@ #include <libkcal/icaldrag.h> #include <libkcal/dndfactory.h> +#include <libkcal/calfilter.h> #include <kcalendarsystem.h> @@ -854,4 +855,6 @@ void KOAgendaView::insertEvent( Event *e void KOAgendaView::changeEventDisplayAdded( Event *event ) { + if ( !calendar()->filter()->filterEvent( event ) ) return; + if ( !event->doesRecur() ) { // find a suitable date |