Small fix in Material editor

This commit is contained in:
Yorik van Havre 2014-01-06 17:37:59 -02:00
parent 14f2dd2331
commit 0f2c93a25e

View File

@ -105,7 +105,7 @@ class MaterialEditor(QtGui.QDialog):
def updateContents(self,data):
"updates the contents of the editor with the given data (can be the name of a card or a dictionary)"
print type(data)
#print type(data)
if isinstance(data,dict):
self.clearEditor()
for k,i in data.iteritems():