Clone in a terminal:
Commit 15be116
David Turner - 2015-11-18T05:14:00+00:00
15be1169ab736990cdfa4c5831e413f40a202320novalis@novalis.org

When headline is set, set title text Problem: When a background tool was selected, the background toolbox would retain the "Control Points" title even though the tools had changed. Solution: Set the title text on an expander when set_headline() is called. Signed-off-by: David Turner <novalis@novalis.org>

Changed files (1)

Diff

diff --git a/libbirdfont/Expander.vala b/libbirdfont/Expander.valaindex 47e46a6..cc4a861 100644--- a/libbirdfont/Expander.vala+++ b/libbirdfont/Expander.vala@@ -53,7 +53,7 @@ public class Expander : GLib.Object { 		title = new Text ();  		if (headline != null) {-			title.set_text ((!) headline);+			set_headline(headline); 		} 				 		tool = new Gee.ArrayList<Tool> ();@@ -65,6 +65,7 @@ public class Expander : GLib.Object {  	public void set_headline (string? h) { 		headline = h;+		title.set_text ((!) headline); 	}  	public double get_content_height () {

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112