diff --git a/src/queue/PlaylistControl.cxx b/src/queue/PlaylistControl.cxx index 4b17386ae..018ddcbb7 100644 --- a/src/queue/PlaylistControl.cxx +++ b/src/queue/PlaylistControl.cxx @@ -75,8 +75,7 @@ playlist::MoveOrderToCurrent(unsigned old_order) } else { /* not playing anything: move the specified song to the front */ - queue.SwapOrders(old_order, 0); - return 0; + return queue.MoveOrderBefore(old_order, 0); } }