Changeset 7c8ddb83 in sasview


Ignore:
Timestamp:
Jul 20, 2016 12:07:56 PM (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:
d112c30
Parents:
503cc34
git-author:
Lewis O'Driscoll <lewis.o'driscoll@…> (07/20/16 12:07:33)
git-committer:
Lewis O'Driscoll <lewis.o'driscoll@…> (07/20/16 12:07:56)
Message:

Change 'Run' label to 'Run Number'

File:
1 edited

Legend:

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

    r503cc34 r7c8ddb83  
    340340        y = 0 
    341341        for item in self.properties: 
    342             label_txt = item.replace('_', ' ').capitalize() 
     342            # Capitalise each word 
     343            label_txt = " ".join( 
     344                [s.capitalize() for s in item.replace('_', ' ').split(' ')]) 
     345            if item == 'run': 
     346                label_txt = "Run Number" 
    343347            label = wx.StaticText(metadata_pane, -1, label_txt, 
    344348                style=wx.ALIGN_CENTER_VERTICAL) 
Note: See TracChangeset for help on using the changeset viewer.