Repository navigation
Commit 8f68f85
GUI: Select All / Deselect All act on the filtered list
When a filter is applied, the module list only shows the modules that
match it, but Select All and Deselect All still walked the whole list, so
they toggled modules the user could not see. Filtering to "chrome" and
pressing Select All selected every module in the tool.
Both buttons now act on the modules that match the active filter, which
is exactly what is on screen. The matching test used by filter_modules
is factored into module_matches_filter so the buttons and the list can
never disagree about what is visible.
With no filter applied the term is empty and matches every module, so
the unfiltered behavior is unchanged. Selections made under one filter
are left alone when the filter changes.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent fd258ee commit 8f68f85
1 file changed
Lines changed: 15 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
96 | 104 | | |
97 | | - | |
| 105 | + | |
98 | 106 | | |
99 | | - | |
| 107 | + | |
| 108 | + | |
100 | 109 | | |
101 | 110 | | |
102 | 111 | | |
103 | 112 | | |
104 | 113 | | |
105 | | - | |
| 114 | + | |
106 | 115 | | |
107 | | - | |
| 116 | + | |
| 117 | + | |
108 | 118 | | |
109 | 119 | | |
110 | 120 | | |
| |||
116 | 126 | | |
117 | 127 | | |
118 | 128 | | |
119 | | - | |
120 | | - | |
| 129 | + | |
121 | 130 | | |
122 | 131 | | |
123 | 132 | | |
| |||
0 commit comments