No overwrite confirm for saving fit parameter needed

This commit is contained in:
Dominik Demuth
2023-01-12 20:11:20 +01:00
parent 89a3313e74
commit 34ebaf34bd
3 changed files with 15 additions and 14 deletions

View File

@ -50,12 +50,12 @@ class FileDialog(QtWidgets.QFileDialog):
def is_valid(filename: str):
return True
bad_character = r'/*<>\|:"'
for c in bad_character:
if c in filename:
return False
return True
# bad_character = r'/*<>\|:"'
# for c in bad_character:
# if c in filename:
# return False
#
# return True
def close(self):
FileDialog.last_path = self.directory()