Closing the application cannot be vetoed
Framework for numerical computations, data analysis and visualisation
Brought to you by:
numere
If there's a editor file, which was not saved and the user clicks on cancel during closing the app, NumeRe won't stop the closing process.
The issue is that the NumeReWindow::CloseAllFiles() is a void function instead of a boolean. Therefore the return value of NumeReWindow::HandleModifiedFile() cannot be used to abort the overall process. Change the return value and return false if the user clicks on cancel.
This fix was tested manually. No deviations occured.
Anonymous
Diff:
Diff:
Diff:
Related
Commit: [r393]
Diff: