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

List:       kde-commits
Subject:    branches/KDE/3.4/kdemultimedia/juk
From:       Michael Pyne <michael.pyne () kdemail ! net>
Date:       2005-10-06 3:00:17
Message-ID: 1128567617.283370.9094.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 467720 by mpyne:

Backport fix for bug 100569 (Jump to playing item doesn't update tag editor) to KDE 3.4.

BUG:100569


 M  +8 -1      playlist.cpp  


--- branches/KDE/3.4/kdemultimedia/juk/playlist.cpp #467719:467720
@@ -883,9 +883,16 @@
     Playlist *l = playingItem()->playlist();
 
     l->clearSelection();
+
+    // Raise the playlist before selecting the items otherwise the tag editor
+    // will not update when it gets the selectionChanged() notification
+    // because it will think the user is choosing a different playlist but not
+    // selecting a different item.
+
+    m_collection->raise(l);
+
     l->setSelected(playingItem(), true);
     l->ensureItemVisible(playingItem());
-    m_collection->raise(l);
 }
 
 void Playlist::slotColumnResizeModeChanged()
[prev in list] [next in list] [prev in thread] [next in thread] 

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