summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2005-01-29 17:48:05 (UTC)
committer zautrix <zautrix>2005-01-29 17:48:05 (UTC)
commit89bda246ae9bdd7e7afc8a15a14bcf7135713f26 (patch) (side-by-side diff)
tree273195621cae2ee6e805c7613ceb6240eeeeee20 /korganizer
parent078f8bb7d4eca69b799d79ac39d098e1752778a8 (diff)
downloadkdepimpi-89bda246ae9bdd7e7afc8a15a14bcf7135713f26.zip
kdepimpi-89bda246ae9bdd7e7afc8a15a14bcf7135713f26.tar.gz
kdepimpi-89bda246ae9bdd7e7afc8a15a14bcf7135713f26.tar.bz2
fixes
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kotodoview.cpp6
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
@@ -1037,12 +1037,18 @@ void KOTodoView::setOpen( QListViewItem* item, bool setOpenI)
item = item->nextSibling();
}
}
void KOTodoView::setAllFlat()
{
+ if ( isFlatDisplay ) {
+ isFlatDisplay = false;
+ mPopupMenu->setItemChecked( 8,false );
+ updateView();
+ return;
+ }
pendingSubtodo = 0;
if ( mBlockUpdate ) {
return;
}
mPopupMenu->setItemChecked( 8,true );
isFlatDisplay = true;