From 6f8470167fa38f9c6e61098cd23d4d61477d8c4b Mon Sep 17 00:00:00 2001 From: "j.delarago" Date: Wed, 15 Jun 2022 17:40:07 +0200 Subject: [PATCH] Suggested changes CURA-8849 --- cura/Machines/Models/IntentSelectionModel.py | 2 +- .../Recommended/RecommendedQualityProfileSelectorButton.qml | 2 +- resources/themes/cura-light/theme.json | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/cura/Machines/Models/IntentSelectionModel.py b/cura/Machines/Models/IntentSelectionModel.py index 1a57d0b3a0..e6726382d2 100644 --- a/cura/Machines/Models/IntentSelectionModel.py +++ b/cura/Machines/Models/IntentSelectionModel.py @@ -25,7 +25,7 @@ class IntentSelectionModel(ListModel): DescriptionRole = Qt.ItemDataRole.UserRole + 4 IconRole = Qt.ItemDataRole.UserRole + 5 - def __init__(self, parent=QAbstractListModel) -> None: + def __init__(self, parent = None) -> None: super().__init__(parent) self.addRoleName(self.NameRole, "name") diff --git a/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelectorButton.qml b/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelectorButton.qml index 25ac660c8a..6804e7e5ba 100644 --- a/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelectorButton.qml +++ b/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelectorButton.qml @@ -14,7 +14,7 @@ Rectangle id: base height: 60 Layout.fillWidth: true - color: mouseArea.containsMouse || selected ? UM.Theme.getColor("um_blue_1") : UM.Theme.getColor("background_1") + color: mouseArea.containsMouse || selected ? UM.Theme.getColor("background_3") : UM.Theme.getColor("background_1") property bool selected: false property string profileName: "" diff --git a/resources/themes/cura-light/theme.json b/resources/themes/cura-light/theme.json index c9299f4d04..83eb13f0cb 100644 --- a/resources/themes/cura-light/theme.json +++ b/resources/themes/cura-light/theme.json @@ -206,8 +206,7 @@ "um_orange_9": [64, 45, 32, 255], "um_yellow_1": [255, 248, 225, 255], "um_yellow_5": [253, 209, 58, 255], - "um_yellow_9": [64, 58, 36, 255], - "um_blue_1": [232, 240, 253, 255] + "um_yellow_9": [64, 58, 36, 255] }, "colors": {