author | zautrix <zautrix> | 2005-03-17 20:00:15 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-17 20:00:15 (UTC) |
commit | de34f05c4545688dec24f8d75fc03e42f38b94d1 (patch) (unidiff) | |
tree | 141a403ad18583748284b1aff745b4dcb30c67b5 | |
parent | 81295ee3a5e7e90fb4c6baf27ecbb65bee1de5b5 (diff) | |
download | kdepimpi-de34f05c4545688dec24f8d75fc03e42f38b94d1.zip kdepimpi-de34f05c4545688dec24f8d75fc03e42f38b94d1.tar.gz kdepimpi-de34f05c4545688dec24f8d75fc03e42f38b94d1.tar.bz2 |
filter fix
-rw-r--r-- | korganizer/calendarview.cpp | 6 |
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() | |||
3611 | CalFilter *filter = mFilterView->selectedFilter(); | 3611 | CalFilter *filter = mFilterView->selectedFilter(); |
3612 | if (filter) { | 3612 | if (filter) { |
3613 | QString mess; | ||
3613 | if (mFilterView->filtersEnabled()) { | 3614 | if (mFilterView->filtersEnabled()) { |
3614 | topLevelWidget()->setCaption( i18n("Filter selected: ")+filter->name() ); | 3615 | mess = i18n("Filter selected: ")+filter->name(); |
3615 | filter->setEnabled(true); | 3616 | filter->setEnabled(true); |
3616 | } | 3617 | } |
@@ -3618,4 +3619,7 @@ void CalendarView::updateFilter() | |||
3618 | mCalendar->setFilter(filter); | 3619 | mCalendar->setFilter(filter); |
3619 | updateView(); | 3620 | updateView(); |
3621 | if ( !mess.isEmpty() ) | ||
3622 | topLevelWidget()->setCaption( mess ); | ||
3623 | |||
3620 | } | 3624 | } |
3621 | } | 3625 | } |