Changeset 3553ad2 in sasview


Ignore:
Timestamp:
Apr 20, 2012 4:00:17 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:
6e75ed0
Parents:
41a8cb3
Message:

improved cell selection behaviors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/data_processor.py

    rc151afc r3553ad2  
    167167        self.last_selected_row = row 
    168168        if col >= 0: 
    169             label_row = 0 
     169            if flag: 
     170                label_row = row 
     171            else: 
     172                label_row = 0 
    170173            self.axis_label = self.GetCellValue(label_row, col) 
    171174            self.selected_cols.append(col) 
     
    11271130                    (self.y_axis_unit, 1, wx.BOTTOM, 10), 
    11281131                    (wx.StaticText(self, -1,  
    1129                                    "dY Label (Optional)\nSelection Range"), 1,  
    1130                      wx.BOTTOM|wx.LEFT, 10), 
     1132                                   "dY-Bar (Optional)\nSelection Range"),  
     1133                                   1, wx.BOTTOM|wx.LEFT, 10), 
    11311134                    (self.dy_axis_label, wx.BOTTOM, 10), 
    11321135                    (self.dy_axis_add, 1, wx.BOTTOM|wx.RIGHT, 10), 
Note: See TracChangeset for help on using the changeset viewer.