[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeextragear-1/amarok/src
From:       Mark Kretschmann <markey () web ! de>
Date:       2004-09-11 6:18:26
Message-ID: 20040911061826.CE96B1D90 () office ! kde ! org
[Download RAW message or body]

CVS commit by markey: 

FIX: Update next/prev player-buttons when clearing playlist.


  M +4 -0      playlist.cpp   1.281


--- kdeextragear-1/amarok/src/playlist.cpp  #1.280:1.281
@@ -665,4 +665,8 @@ Playlist::clear() //SLOT
     m_totalLength = 0;
 
+    // Update player button states
+    m_ac->action( "prev" )->setEnabled( false );
+    m_ac->action( "next" )->setEnabled( false );
+
     //TODO make it possible to tell when it is safe to not delay deletion
     //TODO you'll have to do the same as below for removeSelected() too.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic