mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 12:47:49 -06:00
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.
This commit is contained in:
parent
b98da6b538
commit
5db964aed1
1 changed files with 1 additions and 2 deletions
|
@ -83,8 +83,7 @@ class MaterialManagementModel(QObject):
|
||||||
|
|
||||||
def _onSyncMaterialsMessageActionTriggered(self, sync_message: Message, sync_message_action: str):
|
def _onSyncMaterialsMessageActionTriggered(self, sync_message: Message, sync_message_action: str):
|
||||||
if sync_message_action == "sync":
|
if sync_message_action == "sync":
|
||||||
QDesktopServices.openUrl(QUrl("https://example.com/openSyncAllWindow"))
|
self.openSyncAllWindow()
|
||||||
# self.openSyncAllWindow()
|
|
||||||
sync_message.hide()
|
sync_message.hide()
|
||||||
elif sync_message_action == "learn_more":
|
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"))
|
QDesktopServices.openUrl(QUrl("https://support.ultimaker.com/hc/en-us/articles/360013137919?utm_source=cura&utm_medium=software&utm_campaign=sync-material-printer-message"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue