Skip to content

Commit

Permalink
Material: Fixed return value of the material editor
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Feb 1, 2016
1 parent 704d3ca commit 2688a2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Material/MaterialEditor.py
Expand Up @@ -238,10 +238,10 @@ def savefile(self):
importFCMat.write(filename,d)

def show(self):
self.widget.show()
return self.widget.show()

def exec_(self):
self.widget.exec_()
return self.widget.exec_()

def translate(context,text):
"translates text"
Expand Down

0 comments on commit 2688a2f

Please sign in to comment.