Ignore:
Timestamp:
Jun 14, 2012 8:05:22 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:
d7b49576
Parents:
0008f54
Message:

sum model editot can handle multi model too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/fitting.py

    rdbb3914 rfdef956  
    294294        model_list = model_manager.get_model_name_list() 
    295295        plug_dir = models.find_plugins_dir() 
    296         textdial = TextDialog(None, self, -1, 'Easy Sum(p1, p2)',  
     296        textdial = TextDialog(None, self, -1, 'Easy Sum/Multi(p1, p2) Editor',  
    297297                              model_list, plug_dir) 
    298298        self.put_icon(textdial) 
     
    352352        wx.EVT_MENU(owner, id, self.make_new_model) 
    353353        id = wx.NewId() 
    354         self.edit_model_menu.Append(id, 'Sum(p1, p2)', 
     354        self.edit_model_menu.Append(id, 'Sum|Multi(p1, p2)', 
    355355                                    'Sum of two model functions') 
    356356        wx.EVT_MENU(owner, id, self.make_sum_model) 
Note: See TracChangeset for help on using the changeset viewer.