Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasper Lamboo <c.lamboo@ultimaker.com>2022-08-26 12:36:16 +0300
committerGitHub <noreply@github.com>2022-08-26 12:36:16 +0300
commitfe7960ee73f8a75fed56c3099f66164fcd25f8f3 (patch)
tree900344dd629089ac08759c6aae15e9b33bce91b5 /resources
parentd843921c7a0b483ba37cf868e811e831e8ef5a22 (diff)
parentff7c9eddde5b4b6cfef560764c780ab12322e88a (diff)
Merge pull request #13128 from Ultimaker/CURA-9277_CURA-9514_remove_AbstractMachine
Remove AbstractMachine
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/PrinterSelector/MachineListButton.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/qml/PrinterSelector/MachineListButton.qml b/resources/qml/PrinterSelector/MachineListButton.qml
index 4511c72b4c..55ae5497d9 100644
--- a/resources/qml/PrinterSelector/MachineListButton.qml
+++ b/resources/qml/PrinterSelector/MachineListButton.qml
@@ -30,8 +30,8 @@ Button
height: UM.Theme.getSize("medium_button").height
width: UM.Theme.getSize("medium_button").width
color: UM.Theme.getColor("machine_selector_printer_icon")
- visible: model.machineType == "abstract_machine" || !model.isOnline
- source: model.machineType == "abstract_machine" ? UM.Theme.getIcon("PrinterTriple", "medium") : UM.Theme.getIcon("Printer", "medium")
+ visible: model.isAbstractMachine || !model.isOnline
+ source: model.isAbstractMachine ? UM.Theme.getIcon("PrinterTriple", "medium") : UM.Theme.getIcon("Printer", "medium")
anchors
{
@@ -51,7 +51,7 @@ Button
leftMargin: UM.Theme.getSize("default_margin").width
}
text: machineListButton.text
- font: model.machineType == "abstract_machine" ? UM.Theme.getFont("medium_bold") : UM.Theme.getFont("medium")
+ font: model.isAbstractMachine ? UM.Theme.getFont("medium_bold") : UM.Theme.getFont("medium")
visible: text != ""
elide: Text.ElideRight
}
@@ -68,7 +68,7 @@ Button
top: buttonText.top
bottom: buttonText.bottom
}
- visible: model.machineType == "abstract_machine"
+ visible: model.isAbstractMachine
UM.Label
{