Browse Source

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.
Ghostkeeper 3 years ago
parent
commit
5db964aed1
1 changed files with 1 additions and 2 deletions
  1. 1 2
      cura/Machines/Models/MaterialManagementModel.py

+ 1 - 2
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"))