Ticket #6369 (closed: fixed)
MWRunFiles sometimes emits the filesFound signal when nothing's been found
Reported by: | Russell Taylor | Owned by: | Russell Taylor |
---|---|---|---|
Priority: | trivial | Milestone: | Release 2.4 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | #6371 | Tester: | Peter Peterson |
Description
For example, if the combobox is empty and loses focus, this signal is unnecessarily emitted.
Change History
comment:4 Changed 8 years ago by Russell Taylor
- Status changed from accepted to verify
- Resolution set to fixed
Testing: Not much observable behaviour about the absence of a signal, but before I fixed this if the file box in the Rocking Curve dialog lost focus it would trigger LoadEventNexus with an empty filename - which obviously produced an error. Now it doesn't and it seems unlikely this change should have broken anything - though I only checked the Load dialog.
comment:5 Changed 8 years ago by Russell Taylor
Re #6369. Only emit the filesFound signal if something's been found.
Changeset: 727c85a8a5c49c4840b45b8872db83270765718e
comment:6 Changed 8 years ago by Peter Peterson
- Status changed from verify to verifying
- Tester set to Peter Peterson
Note: See
TracTickets for help on using
tickets.