Restore STL file wildcard for export

master
Steven Devijver 2011-11-08 15:19:52 +01:00
parent 0837508b74
commit b644182af1
1 changed files with 1 additions and 1 deletions

View File

@ -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")