Fix usage of checked property
This commit is contained in:
parent
2e6aa8dbe9
commit
5f93549a05
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue