mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
To be installed packages are still listed for the current session
A user might still need to interact with a **to be installed** package. But the current package list doesn't list that package anymore. Introduced a `getPackagesToInstall()` method in the Uranium PackageManager to circumvent this issue. Contributes to CURA-8558
This commit is contained in:
parent
080e3b9f27
commit
0218703592
1 changed files with 6 additions and 0 deletions
|
@ -78,3 +78,9 @@ class LocalPackageList(PackageList):
|
|||
|
||||
for package_data in manager.getPackagesToRemove().values():
|
||||
yield package_data["package_info"]
|
||||
|
||||
for package_data in manager.getPackagesToInstall().values():
|
||||
package_info = package_data["package_info"]
|
||||
package_type = package_info["package_type"]
|
||||
package_info["section_title"] = self.PACKAGE_SECTION_HEADER["installed"][package_type]
|
||||
yield package_info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue