Skip to content

Commit c4614a9

Browse files
committed
Add infinite clones option
1 parent 866d686 commit c4614a9

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

src/app/qml/dialogs/ProjectSettingsDialog.qml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,19 @@ CustomDialog {
1111
title: qsTr("Project settings")
1212
standardButtons: Dialog.Close
1313

14-
contentItem: RowLayout {}
14+
contentItem: ColumnLayout {
15+
Label {
16+
text: qsTr("Remove limits")
17+
font.pointSize: 14
18+
font.bold: true
19+
}
20+
21+
RowLayout {
22+
CheckBox {
23+
text: qsTr("Infinite clones")
24+
checked: projectPlayer.cloneLimit === -1
25+
onCheckedChanged: projectPlayer.cloneLimit = checked ? -1 : 300
26+
}
27+
}
28+
}
1529
}

0 commit comments

Comments
 (0)