Changeset 27ab091 in sasview


Ignore:
Timestamp:
Feb 19, 2015 8:08:44 AM (8 years ago)
Author:
krzywon
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:
b7c9f7d
Parents:
83eff66
Message:

Fixed the issue outlined in trac ticket #349. The box sum panel did not
seem to allow focus when changing the values for the sum from the panel.
A simple evt.Skip() was all that was necessary.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/guiframe/local_perspectives/plotting/slicerpanel.py

    r79492222 r27ab091  
    1717    #TODO: show units 
    1818    #TODO: order parameters properly 
    19      ## Internal name for the AUI manager 
     19    ## Internal name for the AUI manager 
    2020    window_name = "Slicer panel" 
    2121    ## Title to appear on top of the window 
     
    7676                         flag=wx.LEFT|wx.ALIGN_CENTER_VERTICAL, border=15) 
    7777        else: 
    78             title = wx.StaticText(self, -1, "Slicer Parameters",  
     78            title_text = str(type) + "Parameters" 
     79            title = wx.StaticText(self, -1, title_text,  
    7980                                  style=wx.ALIGN_LEFT) 
    8081            self.bck.Add(title, (0, 0), (1, 2),  
     
    125126    def onSetFocus(self, evt): 
    126127        """ 
    127         Hightlight the textcrtl 
     128        Highlight the txtcrtl 
    128129        """ 
     130        evt.Skip() 
    129131        # Get a handle to the TextCtrl 
    130132        widget = evt.GetEventObject() 
     
    147149        """ 
    148150        Parameters have changed 
    149         """  
     151        """ 
     152        evt.Skip() 
    150153        params = {} 
    151154        has_error = False 
Note: See TracChangeset for help on using the changeset viewer.