Changeset d8e3f7c in sasview for fittingview/src
- Timestamp:
- Aug 16, 2012 1:12:59 PM (12 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:
- 5401f2a
- Parents:
- f866fb5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/report_dialog.py
rf32d144 rd8e3f7c 23 23 FONT_VARIANT = 1 24 24 ISMAC = False 25 25 ISPDF = False 26 26 if sys.platform == "win32": 27 27 _STATICBOX_WIDTH = 450 … … 30 30 FONT_VARIANT = 0 31 31 ISMAC = False 32 ISPDF = True 32 33 elif sys.platform == "darwin": 33 34 ISMAC = True 34 ISPDF = True35 ISPDF = True 35 36 36 37 … … 199 200 #open pdf 200 201 if pdf: 201 os.startfile(str(fName)) 202 try: 203 #Windows 204 os.startfile(str(fName)) 205 except: 206 try: 207 #Mac 208 os.system("open %s"% fName) 209 except: 210 #DO not open 211 pass 202 212 #delete image file 203 213 for num in range(self.nimages):
Note: See TracChangeset
for help on using the changeset viewer.