- Timestamp:
- Oct 7, 2016 4:41:12 PM (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:
- d813cad8
- Parents:
- 97f05432
- git-author:
- David Mannicke <david.mannicke@…> (10/07/16 16:16:42)
- git-committer:
- David Mannicke <david.mannicke@…> (10/07/16 16:41:12)
- Location:
- src/sas/qtgui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/GuiManager.py
r630155bd r7451b88 238 238 reply = QtGui.QMessageBox.question( 239 239 self._parent, 240 ' Warning',240 'Information', 241 241 quit_msg, 242 242 QtGui.QMessageBox.Yes, 243 243 QtGui.QMessageBox.No) 244 244 245 if reply == QtGui.QMessageBox.No:246 return247 248 245 # Exit if yes 249 reactor.callFromThread(reactor.stop) 246 if reply == QtGui.QMessageBox.Yes: 247 reactor.callFromThread(reactor.stop) 248 return True 249 250 return False 250 251 251 252 def checkUpdate(self): -
src/sas/qtgui/MainWindow.py
r2366fb2 r7451b88 65 65 66 66 def closeEvent(self, event): 67 self.guiManager.quitApplication() 67 if self.guiManager.quitApplication(): 68 event.accept() 69 else: 70 event.ignore() 68 71 69 72
Note: See TracChangeset
for help on using the changeset viewer.