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
  2. Mar 26, 2020
  3. Mar 20, 2020
  4. Mar 10, 2020
  5. 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
      Add interface and mocks for encoder/decoder · ce15ec1e
      Gemma Guest authored
      These are now injected into the main window presenter's constructor so
      that they can be tested.
      
      Re #27242
      ce15ec1e
    • 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
  6. Nov 20, 2019
  7. Nov 08, 2019
    • Nick Draper's avatar
      Change push_back to emplace_back where possible · 24bdf433
      Nick Draper authored
      re #27319
      24bdf433
    • 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
  8. Sep 26, 2019
  9. Sep 19, 2019
  10. Sep 16, 2019
  11. Aug 13, 2019
Loading