Merge pull request #4347 from quadproduction/255-photoshop-save-as

This commit is contained in:
Milan Kolar 2023-01-19 09:11:02 +01:00 committed by GitHub
commit ddb5b577c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,8 @@ def has_unsaved_changes():
def save_file(filepath):
_, ext = os.path.splitext(filepath)
if ext not in file_extensions():
ext = '.psd'
lib.stub().saveAs(filepath, ext[1:], True)