From 8776294932c3c5696940a4c92bdbf20a1574e05d Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Thu, 21 Oct 2021 18:23:19 +0200 Subject: [PATCH] Set loading state to False once parsing has completed This allows the user to request the next one. Contributes to issue CURA-8556. --- plugins/Marketplace/PackageList.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/Marketplace/PackageList.py b/plugins/Marketplace/PackageList.py index 07ee103334..1d835dd802 100644 --- a/plugins/Marketplace/PackageList.py +++ b/plugins/Marketplace/PackageList.py @@ -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.hasMoreChanged.emit() + self.setIsLoading(False) def _onError(self, reply: "QNetworkReply", error: Optional["QNetworkReply.NetworkError"]) -> None: """