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:
authorGhostkeeper <rubend@tutanota.com>2021-10-06 15:25:12 +0300
committerGhostkeeper <rubend@tutanota.com>2021-10-06 15:25:12 +0300
commit5db964aed10b37aa77f22281068d44333aa32bcb (patch)
tree5f817de3956701790c6069909cd435a0421ef2fd /cura/Machines
parentb98da6b538c014137d7cff7256ccf7b86dd60e6c (diff)
Link opening sync all window to the button that should open it
This is a new button just merged in from the Master branch. With the window implemented, we can now properly open it. Contributes to issue CURA-8609.
Diffstat (limited to 'cura/Machines')
-rw-r--r--cura/Machines/Models/MaterialManagementModel.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/cura/Machines/Models/MaterialManagementModel.py b/cura/Machines/Models/MaterialManagementModel.py
index 35b3f077ab..fda687c3ef 100644
--- a/cura/Machines/Models/MaterialManagementModel.py
+++ b/cura/Machines/Models/MaterialManagementModel.py
@@ -83,8 +83,7 @@ class MaterialManagementModel(QObject):
def _onSyncMaterialsMessageActionTriggered(self, sync_message: Message, sync_message_action: str):
if sync_message_action == "sync":
- QDesktopServices.openUrl(QUrl("https://example.com/openSyncAllWindow"))
- # self.openSyncAllWindow()
+ self.openSyncAllWindow()
sync_message.hide()
elif sync_message_action == "learn_more":
QDesktopServices.openUrl(QUrl("https://support.ultimaker.com/hc/en-us/articles/360013137919?utm_source=cura&utm_medium=software&utm_campaign=sync-material-printer-message"))