Commit e9a132f
authored
"user_variable_dialogs" folder is now in the "config" directory (#36)
* fixed bug where leftover "add" button widgets were hiding beneath table
when a new row was added, a new "add" button was created, while the old add button still active but hidden underneath the table. If the table columns were made skinnier, the extra "add" buttons were revealed, and were active/connected to the add row function. This commit fixes this bug, so only a single "add" button exists.
* handle changed or missing variable error
After creating a custom variable dialog the user could potentially change the name of or delete a variable in the task file. The next time the task is uploaded the custom variable dialog.json file will potentially try to create a control widget for a variable that no longer exists.
Previously, this situation would throw an error in the terminal and then disconnect the board.
Now the task will still load, omitting the unfound variable, and an error message for each missing control variable will appear in the log. Leftover (or newly named variables) will go into the "..." tab as usual.
* "user_variable_dialogs" folder is now in the "config" directory1 parent c749160 commit e9a132f
3 files changed
Lines changed: 4 additions & 4 deletions
File tree
- config/user_variable_dialogs
- gui
File renamed without changes.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
| 316 | + | |
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
| 342 | + | |
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| |||
504 | 504 | | |
505 | 505 | | |
506 | 506 | | |
507 | | - | |
| 507 | + | |
508 | 508 | | |
509 | 509 | | |
510 | | - | |
| 510 | + | |
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
| |||
0 commit comments