Merge pull request #1054 from BigRoy/enhancement/version_up_current_workfile_always_save

Increment workfile even when no unsaved changes
This commit is contained in:
Roy Nieterau 2024-12-17 11:44:47 +01:00 committed by GitHub
commit 50850b1573
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -585,9 +585,6 @@ def version_up_current_workfile():
"""Function to increment and save workfile
"""
host = registered_host()
if not host.has_unsaved_changes():
print("No unsaved changes, skipping file save..")
return
project_name = get_current_project_name()
folder_path = get_current_folder_path()