Kaynağa Gözat

ctkCheckableHeaderView::propagateToItems is true by default

Julien Finet 14 yıl önce
ebeveyn
işleme
755329dd80

+ 1 - 1
Libs/Widgets/ctkCheckableHeaderView.cpp

@@ -90,7 +90,7 @@ ctkCheckableHeaderViewPrivate::ctkCheckableHeaderViewPrivate(ctkCheckableHeaderV
   this->ItemsAreUpdating = false;
   this->ItemsAreUpdating = false;
   this->CheckBoxPixmaps = 0;
   this->CheckBoxPixmaps = 0;
   this->Pressed = -1;
   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.
   /// with the check state of the corresponding header section.
   /// When the property is set to true, the checkstate of the header is
   /// When the property is set to true, the checkstate of the header is
   /// automatically updated from the checkstate of the items
   /// automatically updated from the checkstate of the items
+  /// True by default
   void setPropagateToItems(bool propagate);
   void setPropagateToItems(bool propagate);
   bool propagateToItems()const;
   bool propagateToItems()const;