mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 14:55:03 -06:00
Hidden other manage buttons when the other is confirmed
Contributes to: CURA-8587
This commit is contained in:
parent
d2a9d7d94d
commit
14bc196154
1 changed files with 3 additions and 3 deletions
|
@ -332,7 +332,7 @@ Rectangle
|
|||
busySecondaryText: catalog.i18nc("@button", "Disabling...")
|
||||
confirmedSecondaryText: catalog.i18nc("@button", "Disabled")
|
||||
enabled: !(installManageButton.busy || updateManageButton.busy)
|
||||
visible: (root.manageableInListView || root.expanded) && !installManageButton.confirmed
|
||||
visible: (root.manageableInListView || root.expanded) && !(installManageButton.confirmed || updateManageButton.confirmed)
|
||||
|
||||
onClicked: {
|
||||
if (primary_action)
|
||||
|
@ -358,7 +358,7 @@ Rectangle
|
|||
busySecondaryText: catalog.i18nc("@button", "Uninstalling...")
|
||||
confirmedSecondaryText: catalog.i18nc("@button", "Uninstalled")
|
||||
enabled: !(enableManageButton.busy || updateManageButton.busy)
|
||||
visible: installManageButton.confirmed || root.manageableInListView || root.expanded
|
||||
visible: (installManageButton.confirmed || root.manageableInListView || root.expanded) && !(updateManageButton.confirmed || enableManageButton.confirmed)
|
||||
|
||||
onClicked:
|
||||
{
|
||||
|
@ -382,7 +382,7 @@ Rectangle
|
|||
busyPrimaryText: catalog.i18nc("@button", "Updating...")
|
||||
confirmedPrimaryText: catalog.i18nc("@button", "Updated")
|
||||
enabled: !(installManageButton.busy || enableManageButton.busy)
|
||||
visible: root.manageableInListView || root.expanded
|
||||
visible: (root.manageableInListView || root.expanded) && !installManageButton.confirmed
|
||||
|
||||
onClicked: packageData.updatePackageTriggered(packageData.packageId)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue