Changeset 3858e0f in sasview for sansguiframe


Ignore:
Timestamp:
Sep 13, 2011 5:37:09 PM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
e16e5c3
Parents:
2d443fd
Message:

minor fix in saving as data

Location:
sansguiframe/src/sans/guiframe/local_perspectives/plotting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/local_perspectives/plotting/Plotter2D.py

    r13382fc7 r3858e0f  
    750750        if self.parent != None: 
    751751            self._default_save_location = self.parent._default_save_location 
     752        default_name = self.plots[self.graph.selected_plottable].label 
     753        if default_name.count('.') > 0: 
     754            default_name = default_name.split('.')[0] 
     755        default_name += "_out" 
    752756        if id in self.action_ids:          
    753757             
     
    756760            dlg = wx.FileDialog(self, "Choose a file", 
    757761                                self._default_save_location, 
    758                                  "", wildcard , wx.SAVE) 
     762                                default_name, wildcard , wx.SAVE) 
    759763            
    760764            if dlg.ShowModal() == wx.ID_OK: 
  • sansguiframe/src/sans/guiframe/local_perspectives/plotting/masking.py

    r8c347a6 r3858e0f  
    391391        self.data.mask = mask 
    392392         
     393    def set_plot_unfocus(self): 
     394        """ 
     395        Not implemented 
     396        """ 
     397        pass 
     398     
    393399    def _update_mask(self,mask): 
    394400        """ 
Note: See TracChangeset for help on using the changeset viewer.