diff --git a/src/Mod/Material/MaterialEditor.py b/src/Mod/Material/MaterialEditor.py index c6189ceaea..35710c21d7 100644 --- a/src/Mod/Material/MaterialEditor.py +++ b/src/Mod/Material/MaterialEditor.py @@ -67,6 +67,10 @@ class MaterialEditor: buttonSave = widget.ButtonSave comboMaterial = widget.ComboMaterial treeView = widget.treeView + + # temporarily hide preview fields, as they are not used yet + # TODO : implement previews + widget.PreviewGroup.hide() buttonURL.setIcon(QtGui.QIcon(":/icons/internet-web-browser.svg")) buttonDeleteProperty.setEnabled(False) diff --git a/src/Mod/Material/materials-editor.ui b/src/Mod/Material/materials-editor.ui index 1b2058ca47..7b29f1e6cf 100644 --- a/src/Mod/Material/materials-editor.ui +++ b/src/Mod/Material/materials-editor.ui @@ -90,7 +90,7 @@ - + Preview @@ -143,8 +143,7 @@ QLayout::SetMaximumSize - - +