mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
Updates playlist editor with Add, Copy/Clone and Delete channel
functionality
This commit is contained in:
@@ -97,6 +97,9 @@ public class PlaylistManager implements ChannelEventListener
|
||||
*/
|
||||
private void transferPlaylistToModels()
|
||||
{
|
||||
//TODO: delete the playlist after we've loaded it, since the models will have
|
||||
//all of the data
|
||||
|
||||
mPlaylistLoading = true;
|
||||
|
||||
mChannelModel.addChannels( mPlaylist.getChannels() );
|
||||
@@ -167,6 +170,10 @@ public class PlaylistManager implements ChannelEventListener
|
||||
|
||||
public void save()
|
||||
{
|
||||
//TODO: recreate the playlist and load values from each of the models
|
||||
|
||||
mPlaylist.setChannels( mChannelModel.getChannels() );
|
||||
|
||||
JAXBContext context = null;
|
||||
|
||||
SystemProperties props = SystemProperties.getInstance();
|
||||
|
||||
Reference in New Issue
Block a user