mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 07:15:54 +08:00
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:
parent
476321be5c
commit
6b6b6f613f
@ -66,7 +66,6 @@ class PackageList(ListModel):
|
|||||||
|
|
||||||
isLoadingChanged = pyqtSignal()
|
isLoadingChanged = pyqtSignal()
|
||||||
|
|
||||||
@pyqtSlot(bool)
|
|
||||||
def setIsLoading(self, is_loading: bool) -> None:
|
def setIsLoading(self, is_loading: bool) -> None:
|
||||||
if is_loading != self._is_loading:
|
if is_loading != self._is_loading:
|
||||||
self._is_loading = is_loading
|
self._is_loading = is_loading
|
||||||
|
Loading…
x
Reference in New Issue
Block a user