Ticket #5994 (closed: fixed)
Crash when setting colour scale range wrong
Reported by: | Nick Draper | Owned by: | Gesner Passos |
---|---|---|---|
Priority: | blocker | Milestone: | Release 2.3 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Russell Taylor |
Description
steps:
- plot a colour map
- set the colour scale so the minimum is higher than the maximum
- click ok
- Bang
Either internally swa the values over, or add validation to stop this from happening.
Change History
comment:2 in reply to: ↑ 1 Changed 8 years ago by Gesner Passos
- Status changed from new to accepted
Replying to Gesner Passos:
Prevent crashing when setting wrong scale for the color map plot.
It checks inside AxesDialog.cpp if the start entry for the scale is lower than the end entry. It does abort the operation if the check fails, warning the user why through a Warning MessageBox. re #5994
Changeset: 34d3d941b65b9243731a68417fdb21dfdaebd66f
comment:3 Changed 8 years ago by Gesner Passos
- Status changed from accepted to verify
- Resolution set to fixed
comment:4 Changed 8 years ago by Russell Taylor
- Status changed from verify to verifying
- Tester set to Russell Taylor
comment:5 Changed 8 years ago by Russell Taylor
- Status changed from verifying to closed
No crash any longer.
comment:6 Changed 8 years ago by Gesner Passos
Prevent crashing when setting wrong scale for the color map plot.
It checks inside AxesDialog.cpp if the start entry for the scale is lower than the end entry. It does abort the operation if the check fails, warning the user why through a Warning MessageBox. re #5994
Changeset: 34d3d941b65b9243731a68417fdb21dfdaebd66f
Prevent crashing when setting wrong scale for the color map plot.
It checks inside AxesDialog.cpp if the start entry for the scale is lower than the end entry. It does abort the operation if the check fails, warning the user why through a Warning MessageBox. re #5994