diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-28 22:50:00 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-28 22:50:00 +0100 |
| commit | 1432280f6c13d507690daf286e13cf850e612914 (patch) | |
| tree | 5b87c5118d3ec7d1377000bed5965c7d0d77b155 /src/lib | |
| parent | 9525e7726e4d488f193957d4fcf1cc1725581ae8 (diff) | |
Fix initial display of viewer image.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/playlist.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/playlist.cc b/src/lib/playlist.cc index 216244bd0..72745f220 100644 --- a/src/lib/playlist.cc +++ b/src/lib/playlist.cc @@ -103,8 +103,6 @@ Playlist::setup () _content_connections.push_back ((*i)->Changed.connect (bind (&Playlist::content_changed, this, _1, _2))); } - - Changed (); } /** @return Length of our audio */ @@ -328,6 +326,8 @@ Playlist::set_from_xml (shared_ptr<const cxml::Node> node) } _loop = node->number_child<int> ("Loop"); + + setup (); } void @@ -345,6 +345,7 @@ Playlist::add (shared_ptr<Content> c) { _content.push_back (c); setup (); + Changed (); } void @@ -356,6 +357,7 @@ Playlist::remove (shared_ptr<Content> c) } setup (); + Changed (); } void @@ -372,6 +374,7 @@ Playlist::move_earlier (shared_ptr<Content> c) swap (*i, *j); setup (); + Changed (); } void @@ -391,6 +394,7 @@ Playlist::move_later (shared_ptr<Content> c) swap (*i, *j); setup (); + Changed (); } void |
