summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--bin/kdepim/WhatsNew.txt8
-rw-r--r--korganizer/kotodoview.cpp6
2 files changed, 14 insertions, 0 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt
index 7e5240c..6c9daad 100644
--- a/bin/kdepim/WhatsNew.txt
+++ b/bin/kdepim/WhatsNew.txt
@@ -10,4 +10,12 @@ introduced in the latest versions, where the text was not fitting on the
240x320 display of the Zaurus 5500.
+Added a popup menu ( press pen and hold to get popup ) to the agenda view
+with may useful items.
+
+Added items to the todolist popup menu for:
+Display all opened, all closed or all todos flat.
+The "flat" view makes is possible to sort all todos after ,e.g., prio or date.
+
+
********** VERSION 2.0.0 ************
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp
index 22486ba..1fb480d 100644
--- a/korganizer/kotodoview.cpp
+++ b/korganizer/kotodoview.cpp
@@ -1041,4 +1041,10 @@ void KOTodoView::setOpen( QListViewItem* item, bool setOpenI)
void KOTodoView::setAllFlat()
{
+ if ( isFlatDisplay ) {
+ isFlatDisplay = false;
+ mPopupMenu->setItemChecked( 8,false );
+ updateView();
+ return;
+ }
pendingSubtodo = 0;
if ( mBlockUpdate ) {