Changeset 9696a10b in sasview


Ignore:
Timestamp:
Jul 8, 2012 4:42:40 PM (12 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:
fa6db8b
Parents:
0899c82
Message:

small fix in insert menus

File:
1 edited

Legend:

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

    r0899c82 r9696a10b  
    323323                        for col in range(self.GetNumberCols())] 
    324324        for c_name in self.data.keys(): 
    325             if c_name not in col_name: 
     325            if c_name not in col_name and self.data[c_name]: 
    326326                id = wx.NewId() 
    327327                hint = "Insert %s column before the " % str(c_name) 
     
    344344                        for col in range(self.GetNumberCols())] 
    345345        for c_name in self.data.keys(): 
    346             if c_name not in col_name: 
     346            if c_name not in col_name and self.data[c_name]: 
    347347                id = wx.NewId() 
    348348                hint = "Insert %s column after the " % str(c_name) 
Note: See TracChangeset for help on using the changeset viewer.