Add multi-selection and gitignore for pycache
Remove LC_SINGLE_SEL to enable shift/ctrl selection, and ignore __pycache__ and .pyc files. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
__pycache__/
|
||||
*.pyc
|
||||
@@ -11,7 +11,7 @@ class Sortable_Component_List(wx.ListCtrl, listmix.ColumnSorterMixin):
|
||||
def __init__(self, parent):
|
||||
wx.ListCtrl.__init__(
|
||||
self, parent,
|
||||
style=wx.LC_REPORT | wx.LC_HRULES | wx.LC_VRULES | wx.LC_SINGLE_SEL
|
||||
style=wx.LC_REPORT | wx.LC_HRULES | wx.LC_VRULES
|
||||
)
|
||||
col_widths = [100, 120, 160, 200, 200]
|
||||
for i, (col, w) in enumerate(zip(COLUMNS, col_widths)):
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user