mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
disable other manageButtons when actions is performed
Still need to make this transfer to the detaile card Contributes to: CURA-8587
This commit is contained in:
parent
ff5a4a4f5a
commit
08067432c6
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,8 @@ RowLayout
|
|||
property string busyPrimaryText: busyMessageText.text
|
||||
property string busySecondaryText: busyMessageText.text
|
||||
property string mainState: "primary"
|
||||
property bool enabled: true
|
||||
readonly property bool busy: state == "busy"
|
||||
|
||||
signal clicked(bool primary_action)
|
||||
|
||||
|
@ -25,6 +27,7 @@ RowLayout
|
|||
{
|
||||
id: primaryButton
|
||||
visible: false
|
||||
enabled: manageButton.enabled
|
||||
|
||||
onClicked:
|
||||
{
|
||||
|
@ -37,6 +40,7 @@ RowLayout
|
|||
{
|
||||
id: secondaryButton
|
||||
visible: false
|
||||
enabled: manageButton.enabled
|
||||
|
||||
onClicked:
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue