mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-25 11:51:41 -07:00
Fix code style
These changed in the same pull request so I'll remove them here. Contributes to issue CURA-5682.
This commit is contained in:
parent
9e56d6d29f
commit
c1ef9abf1d
4 changed files with 9 additions and 6 deletions
|
|
@ -21,7 +21,8 @@ Rectangle
|
|||
width: parent.width
|
||||
color: base.currentItem == model ? UM.Theme.getColor("favorites_row_selected") : "transparent"
|
||||
|
||||
Component.onCompleted: {
|
||||
Component.onCompleted:
|
||||
{
|
||||
if (material.root_material_id == base.active_root_material_id) {
|
||||
base.currentItem = material
|
||||
}
|
||||
|
|
@ -55,7 +56,8 @@ Rectangle
|
|||
MouseArea
|
||||
{
|
||||
anchors.fill: parent
|
||||
onClicked: {
|
||||
onClicked:
|
||||
{
|
||||
base.currentItem = material
|
||||
base.current_brand = material.brand
|
||||
base.current_type = material.brand+"_"+material.material
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue