Browse Source

ctkCheckableHeaderView::propagateToItems is true by default

Julien Finet 14 years ago
parent
commit
755329dd80
2 changed files with 2 additions and 1 deletions
  1. 1 1
      Libs/Widgets/ctkCheckableHeaderView.cpp
  2. 1 0
      Libs/Widgets/ctkCheckableHeaderView.h

+ 1 - 1
Libs/Widgets/ctkCheckableHeaderView.cpp

@@ -90,7 +90,7 @@ ctkCheckableHeaderViewPrivate::ctkCheckableHeaderViewPrivate(ctkCheckableHeaderV
   this->ItemsAreUpdating = false;
   this->CheckBoxPixmaps = 0;
   this->Pressed = -1;
-  this->PropagateToItems = false;
+  this->PropagateToItems = true;
 }
 
 //-----------------------------------------------------------------------------

+ 1 - 0
Libs/Widgets/ctkCheckableHeaderView.h

@@ -114,6 +114,7 @@ public:
   /// with the check state of the corresponding header section.
   /// When the property is set to true, the checkstate of the header is
   /// automatically updated from the checkstate of the items
+  /// True by default
   void setPropagateToItems(bool propagate);
   bool propagateToItems()const;