mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 01:29:00 +08:00
Remove custom text property in materials brand section
It was duplicating the sectionName property. Contributes to issue CURA-6302.
This commit is contained in:
parent
3b4e253e98
commit
dfeb71992a
@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2018 Ultimaker B.V.
|
// Copyright (c) 2019 Ultimaker B.V.
|
||||||
// Cura is released under the terms of the LGPLv3 or higher.
|
// Cura is released under the terms of the LGPLv3 or higher.
|
||||||
|
|
||||||
import QtQuick 2.7
|
import QtQuick 2.7
|
||||||
@ -14,7 +14,6 @@ Item
|
|||||||
{
|
{
|
||||||
id: brand_section
|
id: brand_section
|
||||||
|
|
||||||
property var text: ""
|
|
||||||
property var sectionName: ""
|
property var sectionName: ""
|
||||||
property var elementsModel // This can be a MaterialTypesModel or GenericMaterialsModel or FavoriteMaterialsModel
|
property var elementsModel // This can be a MaterialTypesModel or GenericMaterialsModel or FavoriteMaterialsModel
|
||||||
property var hasMaterialTypes: true // It indicates wheather it has material types or not
|
property var hasMaterialTypes: true // It indicates wheather it has material types or not
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2018 Ultimaker B.V.
|
// Copyright (c) 2019 Ultimaker B.V.
|
||||||
// Uranium is released under the terms of the LGPLv3 or higher.
|
// Uranium is released under the terms of the LGPLv3 or higher.
|
||||||
|
|
||||||
import QtQuick 2.7
|
import QtQuick 2.7
|
||||||
@ -159,7 +159,6 @@ Item
|
|||||||
delegate: MaterialsBrandSection
|
delegate: MaterialsBrandSection
|
||||||
{
|
{
|
||||||
id: brandSection
|
id: brandSection
|
||||||
text: model.name
|
|
||||||
sectionName: model.name
|
sectionName: model.name
|
||||||
elementsModel: model.material_types
|
elementsModel: model.material_types
|
||||||
hasMaterialTypes: true
|
hasMaterialTypes: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user