display message about sorting playlist a bit earlier
since actual sorting takes more time than telling mpd how to sort, message should be displayed before a call to std::sort()
This commit is contained in:
@@ -177,6 +177,7 @@ void Playlist::EnterPressed()
|
||||
return;
|
||||
}
|
||||
|
||||
ShowMessage("Sorting playlist...");
|
||||
MPD::SongList playlist, cmp;
|
||||
|
||||
playlist.reserve(Items->Size());
|
||||
@@ -195,7 +196,6 @@ void Playlist::EnterPressed()
|
||||
}
|
||||
|
||||
BlockUpdate = 1;
|
||||
ShowMessage("Sorting playlist...");
|
||||
Mpd.StartCommandsList();
|
||||
do
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user