summaryrefslogtreecommitdiffabout
path: root/korganizer
Side-by-side diff
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/calendarview.cpp3
-rw-r--r--korganizer/mainwindow.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index d25f632..08909ed 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -4017,7 +4017,6 @@ void CalendarView::editFilters()
CalFilter *filter = mFilters.first();
while(filter) {
- kdDebug() << " Filter: " << filter->name() << endl;
filter = mFilters.next();
}
@@ -4040,6 +4039,7 @@ KOFilterView *CalendarView::filterView()
void CalendarView::selectFilter( int fil )
{
mFilterView->setSelectedFilter( fil );
+ updateUnmanagedViews();
}
void CalendarView::showFilter(bool visible)
{
@@ -4080,6 +4080,7 @@ void CalendarView::toggleFilerEnabled( )
mFilterView->setFiltersEnabled ( !mFilterView->filtersEnabled() );
if ( !mFilterView->filtersEnabled() )
topLevelWidget()->setCaption( i18n("Filter disabled ") );
+ updateUnmanagedViews();
}
void CalendarView::updateFilter()
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp
index 0367bea..48320a5 100644
--- a/korganizer/mainwindow.cpp
+++ b/korganizer/mainwindow.cpp
@@ -2085,7 +2085,7 @@ void MainWindow::keyPressEvent ( QKeyEvent * e )
e->ignore();
}
if ( pro > 0 ) {
- mView->selectFilter( pro-1 );
+ selectFilter( pro+1 );
}
if ( showSelectedDates ) {
;// setCaptionToDates();