Changeset 6886000 in sasview for sansview


Ignore:
Timestamp:
Feb 2, 2011 7:17:33 PM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
ec489f5
Parents:
9a5117a
Message:

reverse unused wxmenu used. need to fix it

Location:
sansview/perspectives/fitting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitting.py

    rc8deee5 r6886000  
    131131        #Menu for fitting 
    132132        self.menu1 = wx.Menu() 
    133          
     133           #menu for model 
     134        menu2 = wx.Menu() 
     135        self.menu_mng.populate_menu(menu2, owner) 
     136        id2 = wx.NewId() 
     137        owner.Bind(models.EVT_MODEL,self._on_model_menu) 
    134138        #Set park engine 
    135139        id3 = wx.NewId() 
  • sansview/perspectives/fitting/models.py

    r9db9b51 r6886000  
    531531        else: 
    532532            model= self.struct_factor_dict[str(evt.GetId())]() 
    533         evt = ModelEvent( model= model ) 
     533        evt = ModelEvent(model=model) 
    534534        wx.PostEvent(self.event_owner, evt) 
    535535         
Note: See TracChangeset for help on using the changeset viewer.