-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 | |||
@@ -1040,6 +1040,12 @@ void KOTodoView::setOpen( QListViewItem* item, bool setOpenI) | |||
1040 | 1040 | ||
1041 | void KOTodoView::setAllFlat() | 1041 | void KOTodoView::setAllFlat() |
1042 | { | 1042 | { |
1043 | if ( isFlatDisplay ) { | ||
1044 | isFlatDisplay = false; | ||
1045 | mPopupMenu->setItemChecked( 8,false ); | ||
1046 | updateView(); | ||
1047 | return; | ||
1048 | } | ||
1043 | pendingSubtodo = 0; | 1049 | pendingSubtodo = 0; |
1044 | if ( mBlockUpdate ) { | 1050 | if ( mBlockUpdate ) { |
1045 | return; | 1051 | return; |