mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 15:19:00 +08:00
Disable activate configuration button for now until sync functionality has been decided
This commit is contained in:
parent
ade86ebc45
commit
7d6e41f6c8
@ -115,24 +115,8 @@ Item
|
|||||||
{
|
{
|
||||||
tooltip: catalog.i18nc("@info:tooltip", "Load the configuration of the printer into Cura")
|
tooltip: catalog.i18nc("@info:tooltip", "Load the configuration of the printer into Cura")
|
||||||
text: catalog.i18nc("@action:button", "Activate Configuration")
|
text: catalog.i18nc("@action:button", "Activate Configuration")
|
||||||
visible: printerConnected && !isClusterPrinter()
|
visible: false // printerConnected && !isClusterPrinter()
|
||||||
onClicked: manager.loadConfigurationFromPrinter()
|
onClicked: manager.loadConfigurationFromPrinter()
|
||||||
|
|
||||||
function isClusterPrinter() {
|
|
||||||
return false
|
|
||||||
//TODO: Hardcoded this for the moment now. These info components might also need to move.
|
|
||||||
/*if(Cura.MachineManager.printerOutputDevices.length == 0)
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
var clusterSize = Cura.MachineManager.printerOutputDevices[0].clusterSize;
|
|
||||||
// This is not a cluster printer or the cluster it is just one printer
|
|
||||||
if(clusterSize == undefined || clusterSize == 1)
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;*/
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user