Fix usage of checked property
This commit is contained in:
@@ -44,10 +44,8 @@ component ProjectWidget inherits Rectangle {
|
|||||||
HorizontalLayout {
|
HorizontalLayout {
|
||||||
alignment: start;
|
alignment: start;
|
||||||
CheckBox {
|
CheckBox {
|
||||||
text: "Append elements from project to existing elements";
|
text: "Append elements from project to existing elements";
|
||||||
toggled() => {
|
checked <=> root.append_project_elements;
|
||||||
root.append_project_elements = self.checked;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
HorizontalLayout {
|
HorizontalLayout {
|
||||||
@@ -83,8 +81,8 @@ component ProjectWidget inherits Rectangle {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
CheckBox {
|
CheckBox {
|
||||||
text: "Use relative path for files";
|
text: "Use relative path for files";
|
||||||
checked: root.use_rel_paths;
|
checked <=> root.use_rel_paths;
|
||||||
}
|
}
|
||||||
HorizontalLayout {
|
HorizontalLayout {
|
||||||
alignment: start;
|
alignment: start;
|
||||||
|
Reference in New Issue
Block a user