Commit b644182a authored by Steven Devijver's avatar Steven Devijver

Restore STL file wildcard for export

parent 0837508b
......@@ -100,7 +100,7 @@ class showstl(wx.Window):
def export(self,event):
dlg=wx.FileDialog(self,"Pick file to save to",self.basedir,style=wx.FD_SAVE)
dlg.SetWildcard("OpenSCAD files (;*.scad;)")
dlg.SetWildcard("STL files (;*.stl;)")
if(dlg.ShowModal() == wx.ID_OK):
name=dlg.GetPath()
sf=open(name.replace(".","_")+".scad","w")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment