summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore 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
@@ -3612,4 +3612,5 @@ void CalendarView::updateFilter()
if (filter) {
+ QString mess;
if (mFilterView->filtersEnabled()) {
- topLevelWidget()->setCaption( i18n("Filter selected: ")+filter->name() );
+ mess = i18n("Filter selected: ")+filter->name();
filter->setEnabled(true);
@@ -3619,2 +3620,5 @@ void CalendarView::updateFilter()
updateView();
+ if ( !mess.isEmpty() )
+ topLevelWidget()->setCaption( mess );
+
}