Changeset 47d10a2 in sasview
- Timestamp:
- Jan 13, 2009 6:45:44 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:
- 0f6d05f8
- Parents:
- e8d1066
- Location:
- sansview/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage1D.py
rd15c0202 r47d10a2 166 166 self.sizer1.Add( self.btClose,(iy,ix),(1,1), wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 0) 167 167 #self.sizer1.Add( self.btClose,1, wx.LEFT | wx.BOTTOM , 5) 168 168 self.tcChi.Disable() 169 169 ix= 0 170 170 iy+=1 -
sansview/perspectives/fitting/fitpanel.py
rd15c0202 r47d10a2 171 171 selected on that page. remove its reference into page_finder (fitting module) 172 172 """ 173 print "model page", page_number, page 173 174 if page!=None and page_number!=None: 175 176 self.nb.RemovePage(page_number) 174 177 page.Destroy() 175 self.nb.RemovePage(page_number)176 178 self.model_page_number=None 177 179 self.model_page=None 180 self.draw_model_name=None 178 181 return 179 182 try: … … 194 197 if self.nb.GetPageText(page_number)== self.page_name: 195 198 self.draw_model_name=None 196 199 if page_number == 1: 200 self.model_page=None 201 self.draw_model_name=None 197 202 selected_page.Destroy() 198 203 self.nb.RemovePage(page_number)
Note: See TracChangeset
for help on using the changeset viewer.