Commit f0b6edf0 authored by Axelander's avatar Axelander

Merge branch 'issue_46_add_to_playback' into 'hotfixes'

Merge Issue 46 (Adding tracks to playback adds also previous selection again) implementation

See merge request !11
parents b0669f02 5590c3b1
......@@ -219,6 +219,7 @@ namespace SonicStreamer.Common.System
{
var playbackVm = new PlaybackViewModel();
ResourceLoader.Current.GetResource(ref playbackVm, Constants.ViewModelPlayback);
playbackVm.PlaybackTracks.Clear();
var currentItems = Playback.ShuffleEnabled ? Playback.ShuffledItems.ToList() : Playback.Items.ToList();
foreach (var item in currentItems)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment