Changeset 280a14b in sasview
- Timestamp:
- Apr 22, 2009 6:29:21 PM (16 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:
- 6d1235b
- Parents:
- 6756712
- Location:
- sansview/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpanel.py
r882a912 r280a14b 65 65 from welcome_panel import PanelAbout 66 66 self.about_page = PanelAbout(self, -1) 67 self.AddPage(self.about_page," welcome!")67 self.AddPage(self.about_page,"Welcome!") 68 68 69 69 -
sansview/perspectives/fitting/fitting.py
r27976fd0 r280a14b 160 160 @return: a list of menu items with call-back function 161 161 """ 162 #TODO: clean this up so that the string are not copied 163 # multiple times. 162 164 self.graph=graph 163 165 for item in graph.plottables: … … 165 167 if hasattr(item,"is_data"): 166 168 if item.is_data: 167 return [["Select data for Fitting", \169 return [["Select data for fitting", \ 168 170 "Dialog with fitting parameters ", self._onSelect]] 169 171 else: 170 172 return [] 171 return [["Select data for Fitting",\173 return [["Select data for fitting",\ 172 174 "Dialog with fitting parameters ", self._onSelect]] 173 175 else: … … 176 178 if hasattr(item,"is_data"): 177 179 if item.is_data: 178 return [["Select data for Fitting", \180 return [["Select data for fitting", \ 179 181 "Dialog with fitting parameters ", self._onSelect]] 180 182 else: 181 183 return [] 182 184 else: 183 return [["Select data for Fitting", \185 return [["Select data for fitting", \ 184 186 "Dialog with fitting parameters ", self._onSelect]] 185 187 return []
Note: See TracChangeset
for help on using the changeset viewer.