mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 12:49:10 +08:00
Fix profile menu text for custom profiles based on not supported
CURA-4796
This commit is contained in:
parent
a3c2635648
commit
03bd4d8d22
@ -63,11 +63,9 @@ Item
|
|||||||
menu: ProfileMenu { }
|
menu: ProfileMenu { }
|
||||||
|
|
||||||
function generateActiveQualityText () {
|
function generateActiveQualityText () {
|
||||||
var result = catalog.i18nc("@", "No Profile Available") // default text
|
|
||||||
|
|
||||||
if (Cura.MachineManager.isActiveQualitySupported ) {
|
|
||||||
result = Cura.MachineManager.activeQualityName
|
result = Cura.MachineManager.activeQualityName
|
||||||
|
|
||||||
|
if (Cura.MachineManager.isActiveQualitySupported ) {
|
||||||
if (Cura.MachineManager.activeQualityLayerHeight > 0) {
|
if (Cura.MachineManager.activeQualityLayerHeight > 0) {
|
||||||
result += " <font color=\"" + UM.Theme.getColor("text_detail") + "\">"
|
result += " <font color=\"" + UM.Theme.getColor("text_detail") + "\">"
|
||||||
result += " - "
|
result += " - "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user