Remove custom text property in materials brand section

It was duplicating the sectionName property.

Contributes to issue CURA-6302.
This commit is contained in:
Ghostkeeper 2019-05-07 14:27:39 +02:00
parent 3b4e253e98
commit dfeb71992a
No known key found for this signature in database
GPG Key ID: 86BEF881AE2CF276
2 changed files with 2 additions and 4 deletions

View File

@ -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.
import QtQuick 2.7
@ -14,7 +14,6 @@ Item
{
id: brand_section
property var text: ""
property var sectionName: ""
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

View File

@ -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.
import QtQuick 2.7
@ -159,7 +159,6 @@ Item
delegate: MaterialsBrandSection
{
id: brandSection
text: model.name
sectionName: model.name
elementsModel: model.material_types
hasMaterialTypes: true