Changed: SHow no-files text if there is no songs in playlist

develop
Nimetu 5 years ago committed by kaetemi
parent 3aa0493570
commit 334d1d2af1

@ -488,7 +488,14 @@ void CMusicPlayer::updatePlayingInfo(const std::string info)
// *************************************************************************** // ***************************************************************************
void CMusicPlayer::clearPlayingInfo() void CMusicPlayer::clearPlayingInfo()
{ {
updatePlayingInfo(""); if (_Songs.empty())
{
updatePlayingInfo(CI18N::get("uiNoFiles").toUtf8());
}
else
{
updatePlayingInfo("");
}
} }
// *************************************************************************** // ***************************************************************************

Loading…
Cancel
Save