Summary: | dynamic playlist mode: can't move a song to the first position in playlist | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Emilio Scalise <emisca> |
Component: | general | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.4.6 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Emilio Scalise
2007-08-27 15:02:24 UTC
SVN commit 705231 by mitchell: Fix issue where immediately after activating a dynamic playlist you couldn't drag a track to the top. BUG: 149263 M +2 -0 ChangeLog M +2 -1 src/playlist.cpp --- branches/stable/extragear/multimedia/amarok/ChangeLog #705230:705231 @@ -4,6 +4,8 @@ VERSION 1.4.8 BUGFIXES: + * Immediately after loading a dynamic playlist, you couldn't drag a + track to the top of the playlist. (BR 149263) * Fix transferring files with UTF8 names to MTP devices. Thanks to Kevin Becker <kevman3000@gmail.com> for the fix. (BR 139722) * Display warning that iPod sysinfo could not be written in the case of --- branches/stable/extragear/multimedia/amarok/src/playlist.cpp #705230:705231 @@ -2424,7 +2424,8 @@ //at the beginning or in the middle of the disabled tracks //Also, that the dynamic playlist has any tracks (suggested may not) if( dynamicMode() && Playlist::instance()->firstChild() && - ( !m_marker || !( static_cast<PlaylistItem *>(m_marker)->isDynamicEnabled() ) ) ) + ( !m_marker || !( static_cast<PlaylistItem *>(m_marker)->isDynamicEnabled() ) ) && + currentTrackIndex() != -1 ) { // If marker is disabled, and there is a current track, or marker is not the last enabled track // don't allow inserting |