Changeset 9968d6a in sasview for src/sas/qtgui/DensityPanel.py
- Timestamp:
- Nov 2, 2016 8:42:12 AM (8 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:
- f140169
- Parents:
- 1d85b5e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/DensityPanel.py
r1d85b5e r9968d6a 138 138 self.model.item(MODEL.MASS_DENSITY).setText(str(molarDensity)) 139 139 140 except :140 except (ArithmeticError, ValueError): 141 141 self.model.item(MODEL.MASS_DENSITY).setText("") 142 142 … … 149 149 self.model.item(MODEL.MOLAR_VOLUME).setText(str(molarVolume)) 150 150 151 except :151 except (ArithmeticError, ValueError): 152 152 self.model.item(MODEL.MOLAR_VOLUME).setText("") 153 153 … … 167 167 location = self.manager.HELP_DIRECTORY_LOCATION + \ 168 168 "/user/sasgui/perspectives/calculator/density_calculator_help.html" 169 169 170 self.manager._helpView.load(QtCore.QUrl(location)) 170 171 self.manager._helpView.show()
Note: See TracChangeset
for help on using the changeset viewer.