mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 01:07:52 -06:00
Merge branch '4.7'
This commit is contained in:
commit
84bc7f5094
1 changed files with 9 additions and 1 deletions
|
@ -48,7 +48,15 @@ Item
|
|||
onClicked:
|
||||
{
|
||||
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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue