author | zautrix <zautrix> | 2005-06-18 20:16:48 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-18 20:16:48 (UTC) |
commit | a2e963324e6db541f322002c307b40f24747e036 (patch) (unidiff) | |
tree | 5b09ee8c176e0709bb48bd2446fe90d2f3d90c68 | |
parent | 15e5fcb111968950032089219185ae4322e88f06 (diff) | |
download | kdepimpi-a2e963324e6db541f322002c307b40f24747e036.zip kdepimpi-a2e963324e6db541f322002c307b40f24747e036.tar.gz kdepimpi-a2e963324e6db541f322002c307b40f24747e036.tar.bz2 |
filter change update fix
-rw-r--r-- | bin/kdepim/WhatsNew.txt | 5 | ||||
-rw-r--r-- | korganizer/calendarview.cpp | 3 | ||||
-rw-r--r-- | korganizer/mainwindow.cpp | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index 322c0e6..0ebd853 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt | |||
@@ -4,8 +4,9 @@ Info about the changes in new versions of KDE-Pim/Pi | |||
4 | ********** VERSION 2.1.8 ************ | 4 | ********** VERSION 2.1.8 ************ |
5 | 5 | ||
6 | KO/Pi: | 6 | KO/Pi: |
7 | Added info about the completion sate of a todo in the ListView/Searchdialog. | 7 | Added info about the completion state of a todo in the ListView/Searchdialog. |
8 | If in TodoView is selected "do not show compledted todos" then completed todos are not shown in the ListView as well. | 8 | If in TodoView is selected "do not show compledted todos" then completed todos are not shown in the ListView as well. |
9 | Fixed some updating problems when changing the filter. | ||
9 | 10 | ||
10 | KA/Pi: | 11 | KA/Pi: |
11 | In the addressee selection dialog now the formatted name is shown, if not empty. | 12 | In the addressee selection dialog now the formatted name is shown, if not empty. |
@@ -23,7 +24,7 @@ Added more options to the search dialog. | |||
23 | Fixed a problem in the Month view. | 24 | Fixed a problem in the Month view. |
24 | Added more options to the dialog when setting a todo to stopped. | 25 | Added more options to the dialog when setting a todo to stopped. |
25 | 26 | ||
26 | Fixed two small problems in KO/PiAlarm applet. | 27 | Fixed two small problems in KO/Pi Alarm applet. |
27 | 28 | ||
28 | ********** VERSION 2.1.6 ************ | 29 | ********** VERSION 2.1.6 ************ |
29 | 30 | ||
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() | |||
4017 | 4017 | ||
4018 | CalFilter *filter = mFilters.first(); | 4018 | CalFilter *filter = mFilters.first(); |
4019 | while(filter) { | 4019 | while(filter) { |
4020 | kdDebug() << " Filter: " << filter->name() << endl; | ||
4021 | filter = mFilters.next(); | 4020 | filter = mFilters.next(); |
4022 | } | 4021 | } |
4023 | 4022 | ||
@@ -4040,6 +4039,7 @@ KOFilterView *CalendarView::filterView() | |||
4040 | void CalendarView::selectFilter( int fil ) | 4039 | void CalendarView::selectFilter( int fil ) |
4041 | { | 4040 | { |
4042 | mFilterView->setSelectedFilter( fil ); | 4041 | mFilterView->setSelectedFilter( fil ); |
4042 | updateUnmanagedViews(); | ||
4043 | } | 4043 | } |
4044 | void CalendarView::showFilter(bool visible) | 4044 | void CalendarView::showFilter(bool visible) |
4045 | { | 4045 | { |
@@ -4080,6 +4080,7 @@ void CalendarView::toggleFilerEnabled( ) | |||
4080 | mFilterView->setFiltersEnabled ( !mFilterView->filtersEnabled() ); | 4080 | mFilterView->setFiltersEnabled ( !mFilterView->filtersEnabled() ); |
4081 | if ( !mFilterView->filtersEnabled() ) | 4081 | if ( !mFilterView->filtersEnabled() ) |
4082 | topLevelWidget()->setCaption( i18n("Filter disabled ") ); | 4082 | topLevelWidget()->setCaption( i18n("Filter disabled ") ); |
4083 | updateUnmanagedViews(); | ||
4083 | 4084 | ||
4084 | } | 4085 | } |
4085 | void CalendarView::updateFilter() | 4086 | 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 ) | |||
2085 | e->ignore(); | 2085 | e->ignore(); |
2086 | } | 2086 | } |
2087 | if ( pro > 0 ) { | 2087 | if ( pro > 0 ) { |
2088 | mView->selectFilter( pro-1 ); | 2088 | selectFilter( pro+1 ); |
2089 | } | 2089 | } |
2090 | if ( showSelectedDates ) { | 2090 | if ( showSelectedDates ) { |
2091 | ;// setCaptionToDates(); | 2091 | ;// setCaptionToDates(); |