don't disable bolding if we won't move now playing song anyway
This commit is contained in:
@@ -1570,7 +1570,7 @@ int main(int argc, char *argv[])
|
|||||||
mPlaylist->GetSelectedList(list);
|
mPlaylist->GetSelectedList(list);
|
||||||
|
|
||||||
for (vector<int>::iterator it = list.begin(); it != list.end(); it++)
|
for (vector<int>::iterator it = list.begin(); it != list.end(); it++)
|
||||||
if (*it == now_playing)
|
if (*it == now_playing && list.front() > 0)
|
||||||
mPlaylist->BoldOption(now_playing, 0);
|
mPlaylist->BoldOption(now_playing, 0);
|
||||||
|
|
||||||
vector<int>origs(list);
|
vector<int>origs(list);
|
||||||
@@ -1662,7 +1662,7 @@ int main(int argc, char *argv[])
|
|||||||
mPlaylist->GetSelectedList(list);
|
mPlaylist->GetSelectedList(list);
|
||||||
|
|
||||||
for (vector<int>::iterator it = list.begin(); it != list.end(); it++)
|
for (vector<int>::iterator it = list.begin(); it != list.end(); it++)
|
||||||
if (*it == now_playing)
|
if (*it == now_playing && list.back() < mPlaylist->Size()-1)
|
||||||
mPlaylist->BoldOption(now_playing, 0);
|
mPlaylist->BoldOption(now_playing, 0);
|
||||||
|
|
||||||
vector<int>origs(list);
|
vector<int>origs(list);
|
||||||
|
|||||||
Reference in New Issue
Block a user