Changeset 4bee68d in sasview for sansview/perspectives
- Timestamp:
- Apr 26, 2011 11:46:00 AM (14 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:
- 34b9813
- Parents:
- 5901bb9
- Location:
- sansview/perspectives/fitting
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpanel.py
r4e78f56 r4bee68d 198 198 for uid, panel in self.opened_pages.iteritems(): 199 199 #Don't return any panel is the exact same page is created 200 if uid == panel.uid :200 if uid == panel.uid and panel.data == state.data: 201 201 # the page is still opened 202 202 panel.reset_page(state=state) … … 207 207 # add data associated to the page created 208 208 if panel is not None: 209 self._manager.store_page(page=panel.uid, data=state.data) 209 self._manager.store_data(uid=panel.uid, 210 data=state.data, 211 caption=panel.window_caption) 210 212 panel.reset_page(state=state) 211 213 panel.save_current_state() -
sansview/perspectives/fitting/fitting.py
r29d6fa5 r4bee68d 316 316 #state = self.state_reader.get_state() 317 317 if state != None: 318 state = state.clone() 318 319 # store fitting state in temp_state 319 320 self.temp_state.append(state) … … 347 348 #set state 348 349 data = self.parent.create_gui_data(state.data) 349 350 350 data.group_id = state.data.group_id 351 351 self.parent.add_data(data_list={data.id:data}) -
sansview/perspectives/fitting/pagestate.py
rc0ff8cc r4bee68d 1454 1454 1455 1455 except: 1456 #self.call_back(format=ext)1457 self.state= state1456 self.call_back(format=ext) 1457 #self.state= state 1458 1458 raise 1459 1459
Note: See TracChangeset
for help on using the changeset viewer.