playlist/Queue: add one-shot to single mode
This commit is contained in:
committed by
Max Kellermann
parent
1fb358249b
commit
1628d801f9
@@ -42,7 +42,7 @@ Queue::GetNextOrder(unsigned _order) const noexcept
|
||||
{
|
||||
assert(_order < length);
|
||||
|
||||
if (single && repeat && !consume)
|
||||
if (single != SingleMode::OFF && repeat && !consume)
|
||||
return _order;
|
||||
else if (_order + 1 < length)
|
||||
return _order + 1;
|
||||
|
||||
Reference in New Issue
Block a user