Skip to content
Snippets Groups Projects
Unverified Commit 9b03cb47 authored by Martyn Gigg's avatar Martyn Gigg Committed by GitHub
Browse files

Merge pull request #25544 from mantidproject/25536_user_batch_file_dialog_box_folders

Separate q keys for ISIS SANS user and batch file
parents 14672cf1 8de71691
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@ Improvements
- Increased font size in run table.
- For ZOOM, SHIFT user file command now moves monitor 5.
- canSAS output mode will be disabled if 2D reduction mode is selected to avoid accidental errors with data dimension.
- **Load Batch File** opens to the directory of your last selected batch file. **Load User File** opens to the directory of your last selected user file.
- Batch files created by exporting the runs table have the same order of keys as in the table.
- Batch files no longer require an output name to load. When processing, an auto-generated name is used instead.
......
......@@ -198,6 +198,7 @@ class SANSDataProcessorGui(QMainWindow,
self.__generic_settings = GENERIC_SETTINGS
self.__path_key = "sans_path"
self.__user_file_key = "user_file"
self.__batch_file_key = "batch_file"
self.__mask_file_input_path_key = "mask_files"
self.__output_mode_key = "output_mode"
self.__save_can_key = "save_can"
......@@ -616,7 +617,7 @@ class SANSDataProcessorGui(QMainWindow,
"""
Load the batch file
"""
load_file(self.batch_line_edit, "*.*", self.__generic_settings, self.__path_key,
load_file(self.batch_line_edit, "*.*", self.__generic_settings, self.__batch_file_key,
self.get_batch_file_path)
self._call_settings_listeners(lambda listener: listener.on_batch_file_load())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment