Skip to content

Commit

Permalink
also verify the id when toggling checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
TuEmb committed Sep 20, 2024
1 parent a818694 commit 541fdcd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/debug_page.slint
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ export component CanTransmitData inherits Rectangle {
HorizontalLayout {
is_extended := MyCheckBox {
text: "Extended Frame";
toggled(en) => {
can_id_check = can_id_check_string(en, can_id.text);
}
}
can_id := LineEdit {
width: 200px;
Expand Down

0 comments on commit 541fdcd

Please sign in to comment.