Merge branch '4.7'

This commit is contained in:
Kostas Karmas 2020-08-11 11:34:30 +02:00
commit 84bc7f5094

View File

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