Skip to content

Commit

Permalink
Fix saving custom templates
Browse files Browse the repository at this point in the history
  • Loading branch information
mbasaglia committed Sep 16, 2023
1 parent 5e55f4b commit 85c37e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* Fixed keyframe context menu showing the wrong "after" transition
* When drawing bezier points that don't have tangents are correctly marked as corner
* The play button now resumes from the current frame rather than resetting to the start
* Fixed saving custom templates

## 0.5.4

Expand Down
2 changes: 1 addition & 1 deletion src/gui/settings/document_templates.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ settings::DocumentTemplates::DocumentTemplates()

bool settings::DocumentTemplates::save_as_template(model::Document* document)
{
if ( !document->assets()->compositions->values.empty() )
if ( document->assets()->compositions->values.empty() )
return false;

model::Composition* comp = document->assets()->compositions->values[0];
Expand Down

0 comments on commit 85c37e4

Please sign in to comment.