Changeset 5251ec6 in sasview for src/sas/sasgui/perspectives/calculator/model_editor.py
- Timestamp:
- Oct 11, 2018 2:20:56 PM (6 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1249
- Children:
- 98b9f32
- Parents:
- 67ed543
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/calculator/model_editor.py
r9bf40e7 r5251ec6 578 578 self.base = base 579 579 self.path = path 580 self.font = wx.SystemSettings _GetFont(wx.SYS_SYSTEM_FONT)580 self.font = wx.SystemSettings.GetFont(wx.SYS_SYSTEM_FONT) 581 581 self.font.SetPointSize(10) 582 582 self.reader = None … … 781 781 if item.count("_") < 1: 782 782 try: 783 exec "float(math.%s)" % item783 exec("float(math.%s)" % item) 784 784 self.math_combo.Append(str(item)) 785 785 except Exception:
Note: See TracChangeset
for help on using the changeset viewer.