mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
Fix profile menu text for custom profiles based on not supported
CURA-4796
This commit is contained in:
parent
a3c2635648
commit
03bd4d8d22
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue