Sophie

Sophie

distrib > Mandriva > 2008.0 > i586 > by-pkgid > cfd4bbfae24305581cf91ef8a7459719 > files > 12

amarok-1.4.7-9mdv2008.0.src.rpm

SVN commit 705494 by mitchell:

Fix this bug by forcing "Prev Track" on a dynamic playlist always cause the current track to be replayed.  If the player is stopped it does absolutely
nothing; if the player is playing, it restarts the track.  You can still select previous tracks via Enter or double-clicking to cause them to play again.

BUG: 148317


 M  +4 -1      src/playlist.cpp

--- amarok/src/playlist.cpp.old	2007-08-28 14:08:57.000000000 +0200
+++ amarok/src/playlist.cpp	2007-08-28 14:24:24.000000000 +0200
@@ -1227,7 +1227,10 @@
     }
     else
     {
-        if ( !AmarokConfig::randomMode() || m_prevTracks.count() <= 1 )
+        if( dynamicMode() )
+        {
+        }
+        else if( !AmarokConfig::randomMode() || m_prevTracks.count() <= 1 )
         {
             if( item )
             {