-rw-r--r-- | korganizer/kotodoview.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index 22486ba..1fb480d 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp @@ -1039,8 +1039,14 @@ void KOTodoView::setOpen( QListViewItem* item, bool setOpenI) } void KOTodoView::setAllFlat() { + if ( isFlatDisplay ) { + isFlatDisplay = false; + mPopupMenu->setItemChecked( 8,false ); + updateView(); + return; + } pendingSubtodo = 0; if ( mBlockUpdate ) { return; } |