Changes in / [cfd27dd:f9b61ca] in sasview


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/calculator/image_viewer.py

    ra1b8fee rc245ca4  
    8989        if location is None: 
    9090            location = os.getcwd() 
    91         dlg = wx.FileDialog(self.parent, "Image Viewer: Choose a image file", 
    92                             location, "", "", style=wx.FD_OPEN | wx.FD_MULTIPLE) 
     91        wildcard="Bitmap (*.bmp)|*.bmp|"\ 
     92            "GIF (*.gif)|*.gif|"\ 
     93            "JPEG (*.jpg;*.jpeg)|*.jpg;*.jpeg|"\ 
     94            "PNG (*.png)|*.png|"\ 
     95            "TIFF (*.tif;*.tiff)|*.tif;*tiff|"\ 
     96            "All Files (*.*)|*.*|" 
     97 
     98        dlg = wx.FileDialog(self.parent, "Image Viewer: Choose an image file", 
     99                            location, "", wildcard, style=wx.FD_OPEN | wx.FD_MULTIPLE) 
    93100        if dlg.ShowModal() == wx.ID_OK: 
    94101            path = dlg.GetPaths() 
Note: See TracChangeset for help on using the changeset viewer.