Skip first column for optionals menu to set expander

issue11271
review393751003
This commit is contained in:
Cédric Krier committed 2022-03-06 13:39:09 +01:00
1 parent 7f128e5073
commit 77e3f50146
1 file changed
+1 -1
+1 -1
View File
@@ -1136,7 +1136,7 @@ class ViewTree(View):
column.set_visible(not unique or bool(self.children_field))
if self.children_field:
for i, column in enumerate(self.treeview.get_columns()):
if self.draggable and not i:
if (self.draggable or self.optionals) and not i:
continue
if column.get_visible():
self.treeview.set_expander_column(column)