mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 21:44:01 -06:00
Fix base.selectedPrinter is undefined problem
This commit is contained in:
parent
a7e0d5147e
commit
920c90010f
1 changed files with 4 additions and 0 deletions
|
@ -278,6 +278,10 @@ Cura.MachineAction
|
|||
width: parent.width
|
||||
wrapMode: Text.WordWrap
|
||||
text:{
|
||||
if (base.selectedPrinter == undefined)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
// The property cluster size does not exist for older UM3 devices.
|
||||
if(base.selectedPrinter != undefined && base.selectedPrinter.clusterSize == null || base.selectedPrinter.clusterSize == 1)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue