change "User defined" to "UserDefined"

changed "User defined" in src/Mod/Material/Templatematerial.yml and
src/Mod/Material/MaterialEditor.py
This commit is contained in:
Dietmar Czekay
2019-09-03 11:58:08 +02:00
committed by Yorik van Havre
parent 65ccdee9d8
commit 21f75b6ed4
2 changed files with 3 additions and 3 deletions

View File

@@ -294,7 +294,7 @@ class MaterialEditor:
item = model.findItems(key, QtCore.Qt.MatchRecursive, 0)
if not item:
top = model.findItems(translate("Material", "User defined"),
top = model.findItems(translate("Material", "UserDefined"),
QtCore.Qt.MatchExactly, 0)[0]
item = QtGui.QStandardItem(key)
it = QtGui.QStandardItem(value)

View File

@@ -236,7 +236,7 @@
Type: 'String'
URL: ''
Description: " "
- Vector rendering:
- VectorRendering:
SectionFillPattern:
Type: 'File'
URL: ''
@@ -270,7 +270,7 @@
Type: 'String'
URL: ''
Description: "Vendor of the material"
- User defined:
- UserDefined:
None: # Python needs something to iterate over
Type: ''
URL: ''