Skip to content

Commit c8c4af6

Browse files
committed
Don't allow group rows to be selected.
This closes #181.
1 parent bc59f7a commit c8c4af6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/vanilla/vanillaList2.py

+2
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ def tableView_shouldSelectRow_(self, tableView, row):
231231
wrapper = self.vanillaWrapper()
232232
if not wrapper._allowsSelection:
233233
return False
234+
if self.tableView_isGroupRow_(tableView, row):
235+
return False
234236
return True
235237

236238
# Editing

0 commit comments

Comments
 (0)