skip lock check if in untitled scene

This commit is contained in:
Jakub Trllo 2023-02-01 19:04:14 +01:00
parent 1c60d72e81
commit 6934233c25

View file

@ -514,6 +514,9 @@ def check_lock_on_current_file():
# add the lock file when opening the file
filepath = current_file()
# Skip if current file is 'untitled'
if not filepath:
return
if is_workfile_locked(filepath):
# add lockfile dialog