mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-30 18:55:11 +08:00
Merge branch '4.7'
This commit is contained in:
commit
84bc7f5094
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user