Ignore:
Timestamp:
Apr 1, 2019 1:11:34 PM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
ticket-1249
Children:
0dde203
Parents:
9305b46
Message:

change wx.SAVE to wx.FD_SAVE in FileDialog?

Location:
src/sas/sasgui/perspectives/calculator
Files:
2 edited

Legend:

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

    r5251ec6 ra5e1b6ca  
    1919_QMAX_DEFAULT = 0.13 
    2020_NPTS_DEFAULT = 50 
    21 #Control panel width  
     21#Control panel width 
    2222if sys.platform.count("darwin") == 0: 
    2323    PANEL_WIDTH = 500 
     
    196196        summary = 'No data info available...' 
    197197        self.data_summary.SetValue(summary) 
    198         #self.summary_sizer.Add(self.data_summary, 1, wx.EXPAND|wx.ALL, 10)   
     198        #self.summary_sizer.Add(self.data_summary, 1, wx.EXPAND|wx.ALL, 10) 
    199199 
    200200    def _layout_button(self): 
     
    579579        wildcard = "CanSAS 1D files(*.xml)|*.xml" 
    580580        dlg = wx.FileDialog(self, "Choose a file", 
    581                             self._default_save_location, "", wildcard , wx.SAVE) 
     581                            self._default_save_location, "", wildcard , 
     582                            wx.FD_SAVE) 
    582583 
    583584        for data in self._data: 
  • src/sas/sasgui/perspectives/calculator/gen_scatter_panel.py

    r34f23c8 ra5e1b6ca  
    16711671                            location, "sld_file", 
    16721672                             extension, 
    1673                              wx.SAVE) 
     1673                             wx.FD_SAVE) 
    16741674        if dlg.ShowModal() == wx.ID_OK: 
    16751675            path = dlg.GetPath() 
Note: See TracChangeset for help on using the changeset viewer.