Skip to content

Commit

Permalink
Small enhancement to Minder export when title is missing.
Browse files Browse the repository at this point in the history
  • Loading branch information
phase1geo committed May 22, 2023
1 parent 6c9c971 commit 3fc58d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exports/ExportMinder.vala
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public class ExportMinder : Export {
private Xml.Node* export_root_node( OutlineTable table ) {
Xml.Node* root = new Xml.Node( null, "node" );
Xml.Node* name = new Xml.Node( null, "nodename" );
name->add_content( table.title.text.text );
name->add_content( (table.title != null) ? table.title.text.text : table.document.label );
export_node_properties( root, null );
root->add_child( export_node_style() );
root->add_child( name );
Expand Down

0 comments on commit 3fc58d3

Please sign in to comment.