Remove superfluous pyqtSlot marking

This can already be set via the isLoading property. What's more, it really only ever needs to be called from Python. I just added the fset because we have the setter anyway.

Contributes to issue CURA-8556.
This commit is contained in:
Ghostkeeper 2021-10-25 15:43:41 +02:00
parent 476321be5c
commit 6b6b6f613f
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

@ -66,7 +66,6 @@ class PackageList(ListModel):
isLoadingChanged = pyqtSignal()
@pyqtSlot(bool)
def setIsLoading(self, is_loading: bool) -> None:
if is_loading != self._is_loading:
self._is_loading = is_loading