tpng default output file type - cross-stitch - interactively turn images into p… | |
git clone git://src.adamsgaard.dk/cross-stitch | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 9f7ba6acfd6724f6b5d8731f6cfa93a6e9fbb641 | |
parent decc21fa938045ca834431c9e8ce70d2531b74bf | |
Author: Anders Damsgaard <[email protected]> | |
Date: Sat, 15 Feb 2014 00:25:36 +0100 | |
png default output file type | |
Diffstat: | |
M cross-stitch.py | 9 +++++---- | |
1 file changed, 5 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/cross-stitch.py b/cross-stitch.py | |
t@@ -159,10 +159,11 @@ class MainScreen(wx.Frame): | |
def OnSave(self, event): | |
saveFileDialog = wx.FileDialog(self, 'Save image file', self.dirname, | |
- '', 'JPEG files (*.jpg,*.jpeg)|*.jpg*.jpeg|PNG files ' | |
- + '(*.png)|*.png|GIF files (*.gif)|*.gif|' | |
- + 'BMP files (*.bmp)|*.bmp', wx.FD_SAVE | | |
- wx.FD_OVERWRITE_PROMPT) | |
+ '', 'PNG files (*.png)|*.png|' | |
+ + 'JPEG files (*.jpg,*.jpeg)|*.jpg*.jpeg|' | |
+ + 'GIF files (*.gif)|*.gif|' | |
+ + 'BMP files (*.bmp)|*.bmp', | |
+ wx.FD_SAVE | wx.FD_OVERWRITE_PROMPT) | |
if saveFileDialog.ShowModal() == wx.ID_CANCEL: | |
return |