From 955b2950e81fbd58b4b69c5a284486127c2e85ba Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 4 Aug 2020 13:30:01 +0200 Subject: [PATCH] Change tertiary button to use link text color CURA-7627 --- .../UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py | 1 - resources/qml/Account/SyncState.qml | 4 ++-- resources/qml/TertiaryButton.qml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py index a5ce7bc23a..d18cf4739e 100644 --- a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py +++ b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py @@ -291,7 +291,6 @@ class CloudOutputDeviceManager: del self._remote_clusters[old_cluster_id] self._remote_clusters[new_cloud_output_device.key] = new_cloud_output_device - def _devicesRemovedFromAccount(self, removed_device_ids: Set[str]) -> None: """ Removes the CloudOutputDevice from the received device ids and marks the specific printers as "removed from diff --git a/resources/qml/Account/SyncState.qml b/resources/qml/Account/SyncState.qml index 66e7f7877b..f7630b500a 100644 --- a/resources/qml/Account/SyncState.qml +++ b/resources/qml/Account/SyncState.qml @@ -94,7 +94,7 @@ Row // Sync state icon + message { id: updatePackagesButton text: catalog.i18nc("@button", "Install pending updates") - color: UM.Theme.getColor("secondary_button_text") + color: UM.Theme.getColor("text_link") font: UM.Theme.getFont("medium") renderType: Text.NativeRendering verticalAlignment: Text.AlignVCenter @@ -116,7 +116,7 @@ Row // Sync state icon + message { id: accountSyncButton text: catalog.i18nc("@button", "Check for account updates") - color: UM.Theme.getColor("secondary_button_text") + color: UM.Theme.getColor("text_link") font: UM.Theme.getFont("medium") renderType: Text.NativeRendering verticalAlignment: Text.AlignVCenter diff --git a/resources/qml/TertiaryButton.qml b/resources/qml/TertiaryButton.qml index e3840dbdd3..eb714c22f6 100644 --- a/resources/qml/TertiaryButton.qml +++ b/resources/qml/TertiaryButton.qml @@ -12,7 +12,7 @@ Cura.ActionButton shadowEnabled: true shadowColor: enabled ? UM.Theme.getColor("secondary_button_shadow"): UM.Theme.getColor("action_button_disabled_shadow") color: "transparent" - textColor: UM.Theme.getColor("secondary_button_text") + textColor: UM.Theme.getColor("text_link") outlineColor: "transparent" disabledColor: UM.Theme.getColor("action_button_disabled") textDisabledColor: UM.Theme.getColor("action_button_disabled_text")