From 1fe6bd7f8ba059322b8357b2210f0fd590567ce2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 13 Aug 2018 17:37:52 +0100 Subject: More fixes for errors / crashes / misbehaviour with content changes and the butler. Here we signal both before and after a change in content. Before, the player disables itself so that any pass()/seek() will be no-ops. After, the player rebuilds its pieces and the butler re-seeks to get back to where it was before the change. --- src/lib/text_content.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/text_content.cc') diff --git a/src/lib/text_content.cc b/src/lib/text_content.cc index ee29ae8c4..35dee525a 100644 --- a/src/lib/text_content.cc +++ b/src/lib/text_content.cc @@ -426,7 +426,8 @@ TextContent::connect_to_fonts () void TextContent::font_changed () { - _parent->signal_changed (TextContentProperty::FONTS); + /* XXX: too late */ + ContentChange cc (_parent, TextContentProperty::FONTS); } void -- cgit v1.2.3