chiark / gitweb /
Fixed #211
authordaid <daid303@gmail.com>
Mon, 10 Sep 2012 09:08:29 +0000 (11:08 +0200)
committerdaid <daid303@gmail.com>
Mon, 10 Sep 2012 09:08:29 +0000 (11:08 +0200)
Cura/gui/mainWindow.py

index c12bb3a9518b78957cfc299b4952be22cdff4dca..85110cfd1a76381c7d80bc3bff59a3dc72aa2045 100644 (file)
@@ -269,7 +269,7 @@ class mainWindow(configBase.configWindowBase):
 
        def OnLoadProfileFromGcode(self, e):
                dlg=wx.FileDialog(self, "Select gcode file to load profile from", os.path.split(profile.getPreference('lastFile'))[0], style=wx.FD_OPEN|wx.FD_FILE_MUST_EXIST)
-               dlg.SetWildcard("gcode files (*.gcode)|*.gcode")
+               dlg.SetWildcard("gcode files (*.gcode)|*.gcode;*.g")
                if dlg.ShowModal() == wx.ID_OK:
                        gcodeFile = dlg.GetPath()
                        f = open(gcodeFile, 'r')