Commit fc1511d
committed
iioExplorer: Add iio_context pointer to IIOStandardItem.
Store iio_context on context and context-attribute items so that
CliDetailsView can query libiio directly without depending on
IIOWidget data strategies. Guard connectLog against empty widget
lists to support eagerly created attribute items.
Signed-off-by: andreidanila1 <andrei.danila@analog.com>1 parent d70afb4 commit fc1511d
File tree
2 files changed
+15
-1
lines changed- packages/generic-plugins/plugins/debugger
- include/debugger
- src/iioexplorer
2 files changed
+15
-1
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
108 | 111 | | |
109 | 112 | | |
110 | 113 | | |
| |||
127 | 130 | | |
128 | 131 | | |
129 | 132 | | |
| 133 | + | |
130 | 134 | | |
131 | 135 | | |
132 | 136 | | |
| |||
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
167 | 169 | | |
168 | 170 | | |
169 | 171 | | |
170 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
171 | 176 | | |
172 | 177 | | |
173 | 178 | | |
| |||
280 | 285 | | |
281 | 286 | | |
282 | 287 | | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
283 | 292 | | |
284 | 293 | | |
285 | 294 | | |
| |||
290 | 299 | | |
291 | 300 | | |
292 | 301 | | |
| 302 | + | |
293 | 303 | | |
294 | 304 | | |
295 | 305 | | |
0 commit comments