mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 08:36:04 +08: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
@ -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…
x
Reference in New Issue
Block a user