mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 23:25:53 +08:00
Set loading state to False once parsing has completed
This allows the user to request the next one. Contributes to issue CURA-8556.
This commit is contained in:
parent
35ec8f7190
commit
8776294932
@ -99,6 +99,7 @@ class PackageList(ListModel):
|
|||||||
|
|
||||||
self._request_url = response_data["links"].get("next", "") # Use empty string to signify that there is no next page.
|
self._request_url = response_data["links"].get("next", "") # Use empty string to signify that there is no next page.
|
||||||
self.hasMoreChanged.emit()
|
self.hasMoreChanged.emit()
|
||||||
|
self.setIsLoading(False)
|
||||||
|
|
||||||
def _onError(self, reply: "QNetworkReply", error: Optional["QNetworkReply.NetworkError"]) -> None:
|
def _onError(self, reply: "QNetworkReply", error: Optional["QNetworkReply.NetworkError"]) -> None:
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user