Modified the Save settings widget for saving the input files such that the file extension .in is always added
This commit is contained in:
parent
81c7ac2f6e
commit
9fd982b1ef
@ -4223,9 +4223,9 @@ class PylotParaBox(QtGui.QWidget):
|
|||||||
if fname[0]:
|
if fname[0]:
|
||||||
try:
|
try:
|
||||||
self.params_from_gui()
|
self.params_from_gui()
|
||||||
self.parameter.export2File(fname[0])
|
self.parameter.export2File(fname[0] + ".in")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self._warn('Could not save file {}:\n{}'.format(fname[0], e))
|
self._warn('Could not save file {}:\n{}'.format(fname[0]+ ".in", e))
|
||||||
return
|
return
|
||||||
|
|
||||||
def restoreDefaults(self):
|
def restoreDefaults(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user