Changeset f4a1433 in sasview for src/sas/qtgui/MainWindow/DataManager.py
- Timestamp:
- Oct 24, 2017 12:44:26 AM (7 years ago)
- Branches:
- 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
- Children:
- fca1f50, d6b234b
- Parents:
- 16afe01 (diff), 5582b078 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/DataManager.py
r7d9c83c rf4a1433 86 86 #creating a name for data 87 87 title = "" 88 file_name = os.path.basename(path) if path is not None else data.filename88 file_name = os.path.basename(path) if path is not None else os.path.basename(data.filename) 89 89 if file_name: 90 90 name = file_name … … 100 100 title = file_name 101 101 102 if new_plot.filename.strip() == "": 102 stripped_filename = new_plot.filename.strip() 103 if not stripped_filename: 104 new_plot.filename = file_name 105 if stripped_filename != os.path.basename(stripped_filename): 103 106 new_plot.filename = file_name 104 107
Note: See TracChangeset
for help on using the changeset viewer.