Skip to content

Commit

Permalink
Connect the extruder and bed temp set buttons
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Rizzitello <[email protected]>
  • Loading branch information
sithlord48 committed Sep 23, 2017
1 parent 785656c commit d9265a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ Kirigami.ApplicationItem {
Button {
Layout.fillWidth: true
text: "Set"
onClicked: atcore.setExtruderTemp(hendTemp.currentText.valueOf(), 0)
}
}

Expand All @@ -139,6 +140,7 @@ Kirigami.ApplicationItem {
text: "Off"
}
ComboBox {
id: hendTemp
editable: true
validator: IntValidator {
bottom: 0
Expand All @@ -162,6 +164,7 @@ Kirigami.ApplicationItem {
text: "Off"
}
ComboBox {
id: bedTemp
editable: true
validator: IntValidator {
bottom: 0
Expand All @@ -172,6 +175,7 @@ Kirigami.ApplicationItem {
Button {
Layout.fillWidth: true
text: "Set"
onClicked: atcore.setBedTemp(bedTemp.currentText.valueOf())
}
}
}
Expand Down

0 comments on commit d9265a5

Please sign in to comment.