mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Fix incorrect typing
This commit is contained in:
parent
261ecfacc1
commit
3e07105edf
1 changed files with 2 additions and 2 deletions
|
|
@ -797,11 +797,11 @@ class Toolbox(QObject, Extension):
|
||||||
return cast(SubscribedPackagesModel, self._models["subscribed_packages"])
|
return cast(SubscribedPackagesModel, self._models["subscribed_packages"])
|
||||||
|
|
||||||
@pyqtProperty(bool, constant=True)
|
@pyqtProperty(bool, constant=True)
|
||||||
def has_compatible_packages(self) -> str:
|
def has_compatible_packages(self) -> bool:
|
||||||
return self._models["subscribed_packages"].hasCompatiblePackages()
|
return self._models["subscribed_packages"].hasCompatiblePackages()
|
||||||
|
|
||||||
@pyqtProperty(bool, constant=True)
|
@pyqtProperty(bool, constant=True)
|
||||||
def has_incompatible_packages(self) -> str:
|
def has_incompatible_packages(self) -> bool:
|
||||||
return self._models["subscribed_packages"].hasIncompatiblePackages()
|
return self._models["subscribed_packages"].hasIncompatiblePackages()
|
||||||
|
|
||||||
@pyqtProperty(QObject, constant = True)
|
@pyqtProperty(QObject, constant = True)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue