Tweak comment to describe both the cases in the if statement

This commit is contained in:
Roy Nieterau 2024-09-09 16:09:21 +02:00
parent 522b205a92
commit d65b84cf2f

View file

@ -535,8 +535,8 @@ class AbstractTemplateBuilder(ABC):
if create_first_version is None:
create_first_version: bool = preset["create_first_version"]
# Build the template if current workfile is a new unsaved file
# (that's detected by checking if it returns any current filepath)
# Build the template if we are explicitly requesting it or if it's
# an unsaved "new file".
if (
# If not a workfile creation, an explicit load template
# was requested, so we always want to build the template