Commit b4f51e1
Fixed broken context search and hide empty categories from filter.
Searching through the context menu was broken after 883e8a0 due to a
mis-comparison on node data that is never inserted. This has been fixed
by correctly comparing QTreeWidgetItem::text.
Furthermore, the filtering system has been changed to hide empty
categories, showing only those that are relevant (contain matching
nodes).
Signed-off-by: Finn Rayment <finn@rayment.fr>1 parent 2dc6825 commit b4f51e1
1 file changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
143 | 146 | | |
144 | 147 | | |
145 | 148 | | |
146 | | - | |
| 149 | + | |
147 | 150 | | |
148 | 151 | | |
149 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
150 | 161 | | |
151 | 162 | | |
152 | 163 | | |
| |||
0 commit comments