From 13ee51bca207ba2ee51baf6c877c850861568f67 Mon Sep 17 00:00:00 2001 From: daid Date: Mon, 10 Sep 2012 11:08:29 +0200 Subject: [PATCH] Fixed #211 --- Cura/gui/mainWindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cura/gui/mainWindow.py b/Cura/gui/mainWindow.py index c12bb3a..85110cf 100644 --- a/Cura/gui/mainWindow.py +++ b/Cura/gui/mainWindow.py @@ -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')