mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Make load more button load more packages
This adds the functionality of the button. Contributes to issue CURA-8556.
This commit is contained in:
parent
46ad1ad077
commit
e3cd5606f0
2 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,7 @@ class PackageList(ListModel):
|
|||
|
||||
self.request()
|
||||
|
||||
@pyqtSlot()
|
||||
def request(self) -> None:
|
||||
"""
|
||||
Make a request for the first paginated page of packages.
|
||||
|
|
|
@ -50,6 +50,7 @@ ScrollView
|
|||
height: UM.Theme.getSize("card").height
|
||||
|
||||
enabled: pluginList.hasMore && !pluginList.isLoading
|
||||
onClicked: pluginList.request() //Load next page in plug-in list.
|
||||
|
||||
background: Rectangle
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue