Skip to content
Snippets Groups Projects
Commit f036f2b3 authored by payno's avatar payno
Browse files

Merge branch 'fix_1282' into 'main'

gui: display only .hdf5 files first when looking for a bliss scan

Closes #1282

See merge request tomotools/tomwer!920
parents 5e00db3c e4001d56
No related branches found
No related tags found
No related merge requests found
......@@ -207,7 +207,11 @@ class BlissHDF5DataListDialog(_DataListDialog):
dialog = qt.QFileDialog(self)
dialog.setFileMode(qt.QFileDialog.ExistingFiles)
dialog.setNameFilters(
["HDF5 files (*.h5 *.hdf5 *.nx *.nxs *.nexus)", "Any files (*)"]
[
"HDF5 files (*.h5 *.hdf5)",
"Nexus files (*.h5 *.hdf5 *.nx *.nxs *.nexus)",
"Any files (*)",
]
)
# Set default directory if available
......
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