瀏覽代碼

ctkCheckableHeaderView::propagateToItems is true by default

Julien Finet 14 年之前
父節點
當前提交
755329dd80
共有 2 個文件被更改,包括 2 次插入1 次删除
  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;