Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/mantidproject/mantid.git. Pull mirroring updated .
  1. Mar 27, 2020
    • Gemma Guest's avatar
      Fix a bug where restoring defaults affects all batches · 3c888dd8
      Gemma Guest authored
      Clicking restore-defaults on an Experiment or Instrument tab in a batch should only affect that tab and batch. This commit fixes a bug where a notification was sent to all batches, and every Experiment and Instrument tab was being reset. The fix is to separate updating the instrument (which is required to ensure we have up-to-date settings loaded from the instrument) from the subsequent notification which updates all batches. Instead, the particular Experiment/Instrument tab where the request was made restores its own defaults itself.
      
      Re #28429
      3c888dd8
    • Gemma Guest's avatar
      Fix a bug where adding a new batch overwrites other batches · 2b5209e4
      Gemma Guest authored
      The problem here was that when the instrument is set on the new batch, a notification is sent that the instrument has changed and all batches were being reset. However, although the instrument has been set, we can just check whether it is different to the current instrument to check whether it really has changed, and if not, do not do the updates.
      
      Re #28429
      2b5209e4
  2. Mar 20, 2020
  3. Dec 16, 2019
    • Gemma Guest's avatar
      Fix a bug opening save dialog instead of load · dcc0fdae
      Gemma Guest authored
      Add a separate method for opening the save/load dialog. Previously it
      was always opening the save dialog to get the filename.
      
      Re #27242
      dcc0fdae
    • Gemma Guest's avatar
      Move Qt types out of presenter · 2daefbfe
      Gemma Guest authored
      - Move the QFileDialog implementation into the view so that the
      presenter does not need to know about it. Call the dialog functions via
      the IMessageHandler interface.
      - Move the save/load JSON functions into the view. Call them via a new
      IFileHandler interface. Note that not all Qt types are removed from the
      view's interface yet so a TODO has been added.
      
      Re #27242
      2daefbfe
  4. Dec 03, 2019
  5. Nov 08, 2019
    • Gemma Guest's avatar
      Set the correct facility for the reflectometry GUI · 0a0b9c13
      Gemma Guest authored
      The reflectometry GUI sets the default instrument in the config service
      when it starts up to one of the ISIS reflectometers. This commit adds a
      check that the facility is ISIS and if not it sets the facility to ISIS.
      This avoids confusion where you essentially have invalid config. It also
      avoids confusion where e.g. loading runs from the default archive might
      not work because the archive may be a different facility.
      
      I have also added code to save the new config settings to file. Again
      this is to avoid confusion between what users see in mantid and what is
      in the saved settings. It is particularly confusing otherwise because
      Workbench will write settings to file when it closes but MantidPlot will not.
      
      Re #27241
      0a0b9c13
  6. Nov 06, 2019
  7. Nov 04, 2019
  8. Nov 01, 2019
  9. Sep 27, 2019
  10. Sep 19, 2019
  11. Sep 16, 2019
  12. Aug 13, 2019
  13. Aug 12, 2019
  14. Aug 07, 2019
  15. Aug 01, 2019
  16. Jul 23, 2019
  17. Jul 02, 2019
  18. Jul 01, 2019
  19. Jun 28, 2019
  20. Jun 21, 2019
  21. Jan 02, 2019
    • Gemma Guest's avatar
      Add an MVP model for the Batch presenter · 6535e8a3
      Gemma Guest authored
      This contains the reduction configuration for a batch.
      It currently uses default models created by the presenter factories, but eventually we will inject the models from the main window presenter containing defaults based on the reduction algorithm
      6535e8a3
Loading