Changeset 7432acb in sasview for src/sas/sasgui/perspectives/corfunc
- Timestamp:
- Apr 9, 2017 4:11:31 AM (8 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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 45dffa69
- Parents:
- ac07a3a
- Location:
- src/sas/sasgui/perspectives/corfunc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/corfunc/corfunc_panel.py
r1dc8ec9 r7432acb 320 320 path = None 321 321 default_save_location = os.getcwd() 322 if self._manager.parent !=None:322 if self._manager.parent is not None: 323 323 default_save_location = self._manager.parent.get_save_location() 324 324 … … 329 329 path = dlg.GetPath() 330 330 default_save_location = os.path.dirname(path) 331 if self._manager.parent !=None:331 if self._manager.parent is not None: 332 332 self._manager.parent._default_save_location = default_save_location 333 333 else: -
src/sas/sasgui/perspectives/corfunc/corfunc_state.py
r235f514 r7432acb 293 293 corstate = self._parse_state(entry) 294 294 295 if corstate !=None:295 if corstate is not None: 296 296 sas_entry.meta_data['corstate'] = corstate 297 297 sas_entry.filename = corstate.file
Note: See TracChangeset
for help on using the changeset viewer.