diff --git a/src/Mod/Material/MaterialEditor.py b/src/Mod/Material/MaterialEditor.py index a22a750f2..77f2cf191 100644 --- a/src/Mod/Material/MaterialEditor.py +++ b/src/Mod/Material/MaterialEditor.py @@ -239,7 +239,7 @@ class MaterialEditor(QtGui.QDialog): if filename: self.clearEditor() import importFCMat - d = importFCMat.read(filename) + d = importFCMat.read(filename[0]) if d: self.updateContents(d)