CURA-4578 Manually installed plugins handled correctly

3rd-party plugins which were manually installed were listed as uninstall-able instead of disable-able. The distinction between plugins which could be installed or disabled was previously made by whether or not it was 3rd party, but is now made by determining the install location.
This commit is contained in:
Ian Paschal 2018-02-05 16:39:45 +01:00
parent bc2dafe863
commit e02cb78d57

View file

@ -164,7 +164,7 @@ Component {
Button { Button {
id: removeButton id: removeButton
text: "Uninstall" text: "Uninstall"
visible: model.external && model.status == "installed" visible: model.can_uninstall && model.status == "installed"
enabled: !manager.isDownloading enabled: !manager.isDownloading
style: ButtonStyle { style: ButtonStyle {
background: Rectangle { background: Rectangle {