Repository navigation
Commit 5888f38
committed
Fix ctrl nil access in _SetFieldVisible for RmlUi mode
RmlUi fields don't have .ctrl property (they're not Chili controls).
Added nil check in _SetFieldVisible() to skip visibility operations
when ctrl doesn't exist.
Fixes: attempt to index local 'ctrl' (a nil value) at editor.lua:2901 parent 5741084 commit 5888f38
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| 288 | + | |
288 | 289 | | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
289 | 294 | | |
290 | 295 | | |
291 | 296 | | |
| |||
0 commit comments