Commit a4fa61dd authored by Julia Garriga Ferrer's avatar Julia Garriga Ferrer
Browse files

[gui][displayComponents] Add .h5 as default suffix at fileDialog for saving components

parent a752b652
Pipeline #21149 passed with stage
in 3 minutes and 9 seconds
......@@ -170,6 +170,7 @@ class DisplayComponentsWidget(qt.QMainWindow):
fileDialog.setFileMode(fileDialog.AnyFile)
fileDialog.setAcceptMode(fileDialog.AcceptSave)
fileDialog.setOption(fileDialog.DontUseNativeDialog)
fileDialog.setDefaultSuffix(".h5")
if fileDialog.exec_():
write_process(fileDialog.selectedFiles()[0], 'entry',
self.dimensions, self.W, self.components, 1)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment