Changeset b6a181b in sasview for src/sans/perspectives
- Timestamp:
- Apr 2, 2014 6:44:33 PM (11 years ago)
- 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:
- b9c8fc5
- Parents:
- 1829835
- Location:
- src/sans/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sans/perspectives/fitting/fitpanel.py
reddb6ec rb6a181b 330 330 return self.GetPage(self.GetSelection()) 331 331 332 def add_sim_page(self, caption=" SimultaneousFit"):332 def add_sim_page(self, caption="Const & Simul Fit"): 333 333 """ 334 334 Add the simultaneous fit page … … 336 336 from simfitpage import SimultaneousFitPage 337 337 page_finder = self._manager.get_page_finder() 338 if caption == " SimultaneousFit":338 if caption == "Const & Simul Fit": 339 339 self.sim_page = SimultaneousFitPage(self, page_finder=page_finder, 340 340 id=-1, batch_on=False) -
src/sans/perspectives/fitting/fitting.py
r5777106 rb6a181b 174 174 self.menu1.AppendSeparator() 175 175 self.id_simfit = wx.NewId() 176 simul_help = " Simultaneous Fit"177 self.menu1.Append(self.id_simfit, '& Simultaneous Fit', simul_help)176 simul_help = "Constrained or Simultaneous Fit" 177 self.menu1.Append(self.id_simfit, '&Constrained or Simultaneous Fit', simul_help) 178 178 wx.EVT_MENU(owner, self.id_simfit, self.on_add_sim_page) 179 179 self.sim_menu = self.menu1.FindItemById(self.id_simfit) … … 418 418 """ 419 419 id = event.GetId() 420 caption = " SimultaneousFit"420 caption = "Const & Simul Fit" 421 421 page = self.sim_page 422 422 if id == self.id_batchfit: … … 434 434 if page != None: 435 435 return set_focus_page(page) 436 if caption == " SimultaneousFit":436 if caption == "Const & Simul Fit": 437 437 self.sim_page = self.fit_panel.add_sim_page(caption=caption) 438 438 else:
Note: See TracChangeset
for help on using the changeset viewer.