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
@@ -11,2 +11,10 @@ introduced in the latest versions, where the text was not fitting on the
+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
@@ -1042,2 +1042,8 @@ void KOTodoView::setAllFlat()
{
+ if ( isFlatDisplay ) {
+ isFlatDisplay = false;
+ mPopupMenu->setItemChecked( 8,false );
+ updateView();
+ return;
+ }
pendingSubtodo = 0;