summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/calendarview.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index d6918d3..6eaac1c 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -3611,6 +3611,7 @@ void CalendarView::updateFilter()
CalFilter *filter = mFilterView->selectedFilter();
if (filter) {
+ QString mess;
if (mFilterView->filtersEnabled()) {
- topLevelWidget()->setCaption( i18n("Filter selected: ")+filter->name() );
+ mess = i18n("Filter selected: ")+filter->name();
filter->setEnabled(true);
}
@@ -3618,4 +3619,7 @@ void CalendarView::updateFilter()
mCalendar->setFilter(filter);
updateView();
+ if ( !mess.isEmpty() )
+ topLevelWidget()->setCaption( mess );
+
}
}