Browse Source

Don't show the enable button on recently installed plugins

Contributes to CURA-8587
Jelle Spijker 3 years ago
parent
commit
62c6af1ef3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/Marketplace/resources/qml/PackageCardHeader.qml

+ 1 - 1
plugins/Marketplace/resources/qml/PackageCardHeader.qml

@@ -181,7 +181,7 @@ Item
             ManageButton
             ManageButton
             {
             {
                 id: enableManageButton
                 id: enableManageButton
-                visible: showManageButtons && packageData.isInstalled && packageData.packageType != "material"
+                visible: showManageButtons && packageData.isInstalled && !packageData.isToBeInstalled && packageData.packageType != "material"
                 enabled: !packageData.busy
                 enabled: !packageData.busy
 
 
                 button_style: !packageData.isActive
                 button_style: !packageData.isActive