Changeset 77f6a8b in sasview for sansview/perspectives/fitting/basepage.py
- Timestamp:
- Oct 30, 2009 10:23:02 AM (15 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:
- 425ef040
- Parents:
- da58fcc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/basepage.py
racd0bda3 r77f6a8b 980 980 self.save_current_state() 981 981 982 self. _is_modified(is_modified = is_modified)982 self.is_modified = is_modified 983 983 984 def _is_modified(self , is_modified = False):984 def _is_modified(self): 985 985 """ 986 986 return to self._is_modified 987 987 """ 988 self.is_modified = is_modified989 988 return self.is_modified 990 989 … … 1462 1461 item=[cb state, name, value, "+/-", error of fit, min, max , units] 1463 1462 """ 1464 is_modified = modified1463 self.is_modified = modified 1465 1464 if len(list)==0: 1466 return is_modified1465 return self.is_modified 1467 1466 for item in list: 1468 1467 try: … … 1506 1505 if value != self.model.getParam(name): 1507 1506 self.model.setParam(name,value) 1508 is_modified = True1507 self.is_modified = True 1509 1508 1510 1509 except: … … 1513 1512 return 1514 1513 1515 return is_modified1514 return self.is_modified 1516 1515 1517 1516
Note: See TracChangeset
for help on using the changeset viewer.