Fix wrong filtering in Marketplace when pressing Back

It was trying to apply a wrong filter, which was causing a slowdown.
It is now applying the correct filter.

Fixes https://github.com/Ultimaker/Cura/issues/8161

CURA-7649
This commit is contained in:
Kostas Karmas 2020-08-11 11:18:37 +02:00
parent e7d95f6d90
commit c7525719d5

View file

@ -48,7 +48,7 @@ Item
onClicked:
{
toolbox.viewPage = "overview"
toolbox.filterModelByProp("packages", "type", toolbox.viewCategory)
toolbox.filterModelByProp("packages", "package_types", toolbox.viewCategory)
}
style: ButtonStyle
{