mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Adding functionality to the manageButtons
Contributes to: CURA-8587
This commit is contained in:
parent
327b434788
commit
ff5a4a4f5a
4 changed files with 34 additions and 4 deletions
|
|
@ -17,7 +17,7 @@ RowLayout
|
|||
property string busySecondaryText: busyMessageText.text
|
||||
property string mainState: "primary"
|
||||
|
||||
signal clicked
|
||||
signal clicked(bool primary_action)
|
||||
|
||||
state: mainState
|
||||
|
||||
|
|
@ -28,7 +28,7 @@ RowLayout
|
|||
|
||||
onClicked:
|
||||
{
|
||||
manageButton.clicked()
|
||||
manageButton.clicked(true)
|
||||
manageButton.state = "busy"
|
||||
}
|
||||
}
|
||||
|
|
@ -40,7 +40,7 @@ RowLayout
|
|||
|
||||
onClicked:
|
||||
{
|
||||
manageButton.clicked()
|
||||
manageButton.clicked(false)
|
||||
manageButton.state = "busy"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue