Fix changing playlist (Track is responsible for signal emission)
This commit is contained in:
@@ -110,8 +110,6 @@ class LIBARDOUR_API DiskIOProcessor : public Processor
|
||||
virtual void playlist_modified () {}
|
||||
virtual int use_playlist (DataType, boost::shared_ptr<Playlist>);
|
||||
|
||||
PBD::Signal1<void,DataType> PlaylistChanged;
|
||||
|
||||
virtual void adjust_buffering() = 0;
|
||||
|
||||
protected:
|
||||
|
||||
@@ -362,9 +362,6 @@ DiskIOProcessor::use_playlist (DataType dt, boost::shared_ptr<Playlist> playlist
|
||||
|
||||
DEBUG_TRACE (DEBUG::DiskIO, string_compose ("%1 now using playlist %1 (%2)\n", name(), playlist->name(), playlist->id()));
|
||||
|
||||
PlaylistChanged (dt); /* EMIT SIGNAL */
|
||||
_session.set_dirty ();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -827,6 +827,9 @@ Track::use_playlist (DataType dt, boost::shared_ptr<Playlist> p)
|
||||
_playlists[dt] = p;
|
||||
}
|
||||
|
||||
_session.set_dirty ();
|
||||
PlaylistChanged (); /* EMIT SIGNAL */
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user