mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Correctly set defaults of managebutton
CURA-8587
This commit is contained in:
parent
8c0d4899ed
commit
aa29114470
2 changed files with 2 additions and 7 deletions
|
@ -184,9 +184,6 @@ Item
|
|||
visible: showManageButtons && packageData.isInstalled && !(installManageButton.confirmed || updateManageButton.confirmed || packageData.packageType == "material")
|
||||
enabled: !(installManageButton.busy || updateManageButton.busy)
|
||||
|
||||
busy: false
|
||||
confirmed: false
|
||||
|
||||
button_style: !packageData.isActive
|
||||
Layout.alignment: Qt.AlignTop
|
||||
|
||||
|
@ -211,7 +208,6 @@ Item
|
|||
visible: (showManageButtons || confirmed) && ((packageData.isBundled && packageData.canDowngrade) || !packageData.isBundled) && !updateManageButton.confirmed
|
||||
enabled: !updateManageButton.busy
|
||||
|
||||
busy: false
|
||||
confirmed: packageData.isRecentlyInstalledChanged
|
||||
|
||||
button_style: confirmed ? packageData.isInstalled : !packageData.isInstalled
|
||||
|
@ -274,7 +270,6 @@ Item
|
|||
visible: (showManageButtons || confirmed) && (packageData.canUpdate || confirmed) && !installManageButton.confirmed
|
||||
enabled: !installManageButton.busy
|
||||
|
||||
busy: false
|
||||
confirmed: packageData.isRecentlyUpdatedChanged
|
||||
|
||||
button_style: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue