RecorderUI: keep track of playlist changes

This fixes a bug that the recorder display does not correctly
redraw when using a new or different playlist.
This commit is contained in:
Robin Gareus 2021-07-07 05:34:15 +02:00
parent d60a6a890d
commit 6027e49e58
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 11 additions and 1 deletions

View file

@ -183,6 +183,7 @@ private:
private:
void render_region (boost::shared_ptr<ARDOUR::Region>, Cairo::RefPtr<Cairo::Context> const&, double);
void playlist_changed ();
void playlist_contents_changed ();
void property_changed (PBD::PropertyChange const&);
void maybe_setup_rec_box ();
void update_rec_box ();
@ -201,6 +202,7 @@ private:
bool _rec_active;
std::vector<RecInfo> _rec_rects;
PBD::ScopedConnection _playlist_connections;
PBD::ScopedConnectionList _connections;
sigc::connection _screen_update_connection;
};