Use printer type name instead of id

This commit is contained in:
ChrisTerBeke 2019-09-27 21:09:53 +02:00
parent 93f2641be7
commit 99832c3a68
No known key found for this signature in database
GPG key ID: A49F1AB9D7E0C263
2 changed files with 11 additions and 5 deletions

View file

@ -212,10 +212,7 @@ Cura.MachineAction
text:
{
if (base.selectedDevice) {
// It would be great to use a more readable machine type here,
// but the new discoveredPrintersModel is not used yet in the UM networking actions.
// TODO: remove actions or replace 'connect via network' button with new flow?
return base.selectedDevice.printerType
return base.selectedDevice.printerTypeName
}
return ""
}