make sorting window use main ncmpcpp loop
This commit is contained in:
@@ -139,9 +139,9 @@ void PlaylistEditor::Update()
|
||||
bool bold = 0;
|
||||
for (SongList::const_iterator it = list.begin(); it != list.end(); ++it)
|
||||
{
|
||||
for (size_t j = 0; j < myPlaylist->Main()->Size(); ++j)
|
||||
for (size_t j = 0; j < myPlaylist->Items->Size(); ++j)
|
||||
{
|
||||
if ((*it)->GetHash() == myPlaylist->Main()->at(j).GetHash())
|
||||
if ((*it)->GetHash() == myPlaylist->Items->at(j).GetHash())
|
||||
{
|
||||
bold = 1;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user