mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 15:37:27 -06:00
Removed unnecessary function and a call to it. Added some typing.
CURA-7090
This commit is contained in:
parent
7359492e11
commit
e8f22beb27
2 changed files with 4 additions and 13 deletions
|
@ -676,8 +676,7 @@ class Toolbox(QObject, Extension):
|
|||
if package_discrepancy:
|
||||
self._models["subscribed_packages"].addDiscrepancies(package_discrepancy)
|
||||
self._models["subscribed_packages"].initialize()
|
||||
self._models["subscribed_packages"].applyDismissedPackages(user_dismissed_packages)
|
||||
Logger.log("d", "Discrepancy found between Cloud subscribed packages and Cura installed packages")
|
||||
Logger.debug("Discrepancy found between Cloud subscribed packages and Cura installed packages")
|
||||
sync_message = Message(i18n_catalog.i18nc(
|
||||
"@info:generic",
|
||||
"\nDo you want to sync material and software packages with your account?"),
|
||||
|
@ -688,7 +687,6 @@ class Toolbox(QObject, Extension):
|
|||
icon="",
|
||||
description="Sync your Cloud subscribed packages to your local environment.",
|
||||
button_align=Message.ActionButtonAlignment.ALIGN_RIGHT)
|
||||
|
||||
sync_message.actionTriggered.connect(self._onSyncButtonClicked)
|
||||
sync_message.show()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue