mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 14:48:58 +08:00
Apply different filtering per category when pressing Back
Back now applies the same filters that are applied when pressing the tab buttons. CURA-7649
This commit is contained in:
parent
c7525719d5
commit
ccd4add3ef
@ -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…
x
Reference in New Issue
Block a user