mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Apply suggestions from code review
Applied code review comments Co-authored-by: Jaime van Kessel <nallath@gmail.com>
This commit is contained in:
parent
e7aecb6c06
commit
3a94fc0ced
4 changed files with 4 additions and 6 deletions
|
@ -18,7 +18,6 @@ catalog = i18nCatalog("cura")
|
|||
|
||||
|
||||
class LocalPackageList(PackageList):
|
||||
PackageRole = Qt.UserRole + 1
|
||||
PACKAGE_SECTION_HEADER = {
|
||||
"installed":
|
||||
{
|
||||
|
@ -46,7 +45,7 @@ class LocalPackageList(PackageList):
|
|||
self.setErrorMessage("") # Clear any previous errors.
|
||||
self.setIsLoading(True)
|
||||
self._getLocalPackages()
|
||||
self.setIsLoading(True)
|
||||
self.setIsLoading(False)
|
||||
|
||||
def _getLocalPackages(self) -> None:
|
||||
""" Obtain the local packages.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue