- Timestamp:
- Oct 3, 2018 9:39:22 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- a486918
- Parents:
- 3b95b3b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/GuiManager.py
r4cbd87f re258c53 5 5 import json 6 6 import webbrowser 7 import traceback 7 8 8 9 from PyQt5.QtWidgets import * … … 68 69 QLocale.setDefault(QLocale('en_US')) 69 70 71 # Redefine exception hook to not explicitly crash the app. 72 sys.excepthook = self.info 73 70 74 # Add signal callbacks 71 75 self.addCallbacks() … … 103 107 "_downloads", 104 108 "Tutorial.pdf")) 109 110 def info(self, type, value, tb): 111 logger.error("SasView threw exception: " + str(value)) 112 traceback.print_exception(type, value, tb) 105 113 106 114 def addWidgets(self):
Note: See TracChangeset
for help on using the changeset viewer.