mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 22:08:59 +08:00
Only subscribe when logged in. (When installing a package from toolbox)
This commit is contained in:
parent
a706b42782
commit
5cedb2933e
@ -149,7 +149,8 @@ class Toolbox(QObject, Extension):
|
||||
|
||||
@pyqtSlot(str)
|
||||
def subscribe(self, package_id: str) -> None:
|
||||
self._cloud_package_manager.subscribe(package_id)
|
||||
if self._application.getCuraAPI().account.isLoggedIn:
|
||||
self._cloud_package_manager.subscribe(package_id)
|
||||
|
||||
def getLicenseDialogPluginFileLocation(self) -> str:
|
||||
return self._license_dialog_plugin_file_location
|
||||
|
Loading…
x
Reference in New Issue
Block a user