Changeset 7954acd in sasview for invariantview
- Timestamp:
- Apr 5, 2012 10:12:43 AM (13 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:
- b53414b
- Parents:
- 213b445
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
invariantview/src/sans/perspectives/invariant/report_dialog.py
r091c702 r7954acd 31 31 FONT_VARIANT = 1 32 32 ISMAC = True 33 ISPDF = True 33 34 34 35 class ReportDialog(wx.Dialog): … … 55 56 56 57 # check if tit is MAC 57 self.is_ mac = ISMAC58 self.is_pdf = ISPDF 58 59 59 60 # report string … … 65 66 # wild card 66 67 # pdf supporting only on MAC 67 if self.is_ mac:68 if self.is_pdf: 68 69 self.wild_card = ' PDF files (*.pdf)|*.pdf|' 69 70 else: … … 142 143 ext_num = dlg.GetFilterIndex() 143 144 # index correction 144 if not self.is_ mac:145 if not self.is_pdf: 145 146 ind_cor = 1 146 147 else:
Note: See TracChangeset
for help on using the changeset viewer.