Skip to content

Commit

Permalink
supposedly there's a validation check to make sure nonresponses don't…
Browse files Browse the repository at this point in the history
… go through but whatever
  • Loading branch information
MinaciousGrace committed May 14, 2017
1 parent 1866a48 commit c3efb9e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/ScreenSelectMusic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1221,10 +1221,12 @@ void ScreenSelectMusic::HandleScreenMessage( const ScreenMessage SM )
if (SM == SM_BackFromNamePlaylist) {
Playlist pl;
pl.name = ScreenTextEntry::s_sLastAnswer;
SONGMAN->allplaylists.emplace(pl.name, pl);
SONGMAN->activeplaylist = pl.name;
Message msg("DisplayAll");
MESSAGEMAN->Broadcast(msg);
if (pl.name != "") {
SONGMAN->allplaylists.emplace(pl.name, pl);
SONGMAN->activeplaylist = pl.name;
Message msg("DisplayAll");
MESSAGEMAN->Broadcast(msg);
}
}

ScreenWithMenuElements::HandleScreenMessage( SM );
Expand Down

0 comments on commit c3efb9e

Please sign in to comment.