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:
authorDimitriovski <d.dimitriovski@ultimaker.com>2020-02-11 15:43:49 +0300
committerGitHub <noreply@github.com>2020-02-11 15:43:49 +0300
commitb9ff66af0054f069ba70a0baac0c08dc4791e01a (patch)
tree386df6816e6fe7313aeb57c72a6453b23bfef4c8 /plugins/Toolbox/src/CloudSync/SyncOrchestrator.py
parent277d730ed8dda971cad0e143f411401d152f6390 (diff)
parent72c1b4d10c7ece92a5f8e2ed7dfd6ad67f75f502 (diff)
Merge pull request #7091 from Ultimaker/CURA-7200_package_zip_not_foundv4.5-beta
Fix LicensePresenter: reset state when presenting licenses
Diffstat (limited to 'plugins/Toolbox/src/CloudSync/SyncOrchestrator.py')
-rw-r--r--plugins/Toolbox/src/CloudSync/SyncOrchestrator.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Toolbox/src/CloudSync/SyncOrchestrator.py b/plugins/Toolbox/src/CloudSync/SyncOrchestrator.py
index c24703bf92..34fdb40903 100644
--- a/plugins/Toolbox/src/CloudSync/SyncOrchestrator.py
+++ b/plugins/Toolbox/src/CloudSync/SyncOrchestrator.py
@@ -72,6 +72,8 @@ class SyncOrchestrator(Extension):
self._showErrorMessage(message)
plugin_path = cast(str, PluginRegistry.getInstance().getPluginPath(self.getPluginId()))
+ self._license_presenter = self._license_presenter.resetCopy()
+ self._license_presenter.licenseAnswers.connect(self._onLicenseAnswers)
self._license_presenter.present(plugin_path, success_items)
# Called when user has accepted / declined all licenses for the downloaded packages