mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Remove unneeded "primary_action" from managebutton
This commit is contained in:
parent
08685af9de
commit
274b98f9b1
2 changed files with 8 additions and 8 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue