Ignore:
Timestamp:
Aug 9, 2016 7:41:25 AM (8 years ago)
Author:
lewis
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
f5c52b0
Parents:
94667e27
Message:

Make default output file picker directory same as input files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/file_converter/converter_panel.py

    r94667e27 r785fa53  
    550550        self.q_input = wx.FilePickerCtrl(self, -1, 
    551551            size=(_STATICBOX_WIDTH-80, -1), 
    552             message="Chose the Q-Axis data file.") 
     552            message="Chose the Q-Axis data file.", 
     553            style=wx.FLP_USE_TEXTCTRL | wx.FLP_CHANGE_DIR) 
    553554        input_grid.Add(self.q_input, (y,1), (1,1), wx.ALL, 5) 
    554555        y += 1 
     
    559560        self.iq_input = wx.FilePickerCtrl(self, -1, 
    560561            size=(_STATICBOX_WIDTH-80, -1), 
    561             message="Chose the Intensity-Axis data file.") 
     562            message="Chose the Intensity-Axis data file.", 
     563            style=wx.FLP_USE_TEXTCTRL | wx.FLP_CHANGE_DIR) 
    562564        input_grid.Add(self.iq_input, (y,1), (1,1), wx.ALL, 5) 
    563565        y += 1 
Note: See TracChangeset for help on using the changeset viewer.