Remove unneeded "primary_action" from managebutton

This commit is contained in:
Jaime van Kessel 2021-12-13 13:09:17 +01:00
parent 08685af9de
commit 274b98f9b1
2 changed files with 8 additions and 8 deletions

View file

@ -19,14 +19,14 @@ Item
implicitWidth: childrenRect.width
implicitHeight: childrenRect.height
signal clicked(bool primary_action)
signal clicked()
property Component primaryButton: Component
{
Cura.PrimaryButton
{
text: manageButton.text
onClicked: manageButton.clicked(true)
onClicked: manageButton.clicked()
}
}
@ -35,7 +35,7 @@ Item
Cura.SecondaryButton
{
text: manageButton.text
onClicked: manageButton.clicked(false)
onClicked: manageButton.clicked()
}
}