fixing exporting new project

This commit is contained in:
Jakub Jezek 2023-06-26 11:46:27 +02:00
parent 33f83f587d
commit baf88f1358
No known key found for this signature in database
GPG key ID: 730D7C02726179A7
2 changed files with 14 additions and 5 deletions

View file

@ -89,11 +89,17 @@ def get_current_project():
"""Get current project object.
"""
if not self.current_project:
self.current_project = get_project_manager().GetCurrentProject()
set_current_project()
return self.current_project
def set_current_project():
"""Set current project object.
"""
self.current_project = get_project_manager().GetCurrentProject()
def get_current_timeline(new=False):
"""Get current timeline object.