Ticket #3698 (closed: fixed)
Instrument View: Selecting a detector that isn't in the workspace masks the first spectrum
Reported by: | Russell Taylor | Owned by: | Russell Taylor |
---|---|---|---|
Priority: | major | Milestone: | Iteration 30 |
Component: | MantidPlot | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Roman Tolchenov |
Description
i.e. workspace index 0 is masked if a detector selected does not have
This is because the map InstrumentActor::m_id2wi_map is in several places being accessed via operator[] in what should just be a read, so it's adding entries with 0 as the second member of the pair when called with detectors that aren't in it.
Change History
comment:2 Changed 9 years ago by Russell Taylor
- Status changed from accepted to verify
- Resolution set to fixed
In [14568]:
comment:3 Changed 9 years ago by Roman Tolchenov
- Status changed from verify to verifying
- Tester set to Roman Tolchenov
Note: See
TracTickets for help on using
tickets.