Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.8, 6.8.3, 6.9.0
Description
A TreeView which uses a TreeViewDelegate and has edit triggers set allows editing of non-editable parent items and does not allow editing of editable child items stored in a QStandardItemModel.
Steps to reproduce:
1. Run the attached example project
2. Expand the parent items.
3. Double click on the "Main Branch 1" parent item. Observe the non-editable item cannot be edited.
4. Double click on the "Main Branch 2" parent item. Observe the non-editable item can be edited. Expected behavior: the parent item should be non-editable
5. Double click on the "Sub branch 1.2" child item. Observe the editable item can edited
6. Double click on the "Sub branch 1.1" child item. Observe the editable item cannot be edited. Expected behavior: the child item should be editable