Changes in / [f9b61ca:cfd27dd] in sasview


Ignore:
File:
1 edited

Legend:

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

    rc245ca4 ra1b8fee  
    8989        if location is None: 
    9090            location = os.getcwd() 
    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) 
     91        dlg = wx.FileDialog(self.parent, "Image Viewer: Choose a image file", 
     92                            location, "", "", style=wx.FD_OPEN | wx.FD_MULTIPLE) 
    10093        if dlg.ShowModal() == wx.ID_OK: 
    10194            path = dlg.GetPaths() 
Note: See TracChangeset for help on using the changeset viewer.