Fix usage of checked property

This commit is contained in:
Jaby 2025-04-02 20:06:35 +02:00
parent 2e6aa8dbe9
commit 5f93549a05
1 changed files with 4 additions and 6 deletions

View File

@ -44,10 +44,8 @@ component ProjectWidget inherits Rectangle {
HorizontalLayout {
alignment: start;
CheckBox {
text: "Append elements from project to existing elements";
toggled() => {
root.append_project_elements = self.checked;
}
text: "Append elements from project to existing elements";
checked <=> root.append_project_elements;
}
}
HorizontalLayout {
@ -83,8 +81,8 @@ component ProjectWidget inherits Rectangle {
}
}
CheckBox {
text: "Use relative path for files";
checked: root.use_rel_paths;
text: "Use relative path for files";
checked <=> root.use_rel_paths;
}
HorizontalLayout {
alignment: start;