Browse Source

Color icons in workspace dialog so they are themed correctly in dark mode.

Don't show name when defaulting to create new printer.

CURA-9424
Joey de l'Arago 2 years ago
parent
commit
70f7f68a51
2 changed files with 3 additions and 1 deletions
  1. 1 1
      plugins/3MFReader/WorkspaceDialog.qml
  2. 2 0
      plugins/3MFReader/WorkspaceSection.qml

+ 1 - 1
plugins/3MFReader/WorkspaceDialog.qml

@@ -96,7 +96,7 @@ UM.Dialog
                         WorkspaceRow
                         {
                             leftLabelText: catalog.i18nc("@action:label", manager.isPrinterGroup ? "Printer Group" : "Printer Name")
-                            rightLabelText: manager.machineName
+                            rightLabelText: manager.machineName == "Create new" ? "" : manager.machineName
                         }
                     }
 

+ 2 - 0
plugins/3MFReader/WorkspaceSection.qml

@@ -36,6 +36,7 @@ Item
             anchors.verticalCenter: parent.verticalCenter
             source: ""
             height: UM.Theme.getSize("medium_button_icon").height
+            color: UM.Theme.getColor("text")
             width: height
         }
         UM.Label
@@ -95,6 +96,7 @@ Item
 
                 visible: comboboxTooltipText != ""
                 source: UM.Theme.getIcon("Help")
+                color: UM.Theme.getColor("text")
 
                 UM.ToolTip
                 {