Added function to back-button.

This commit is contained in:
Florian Kuepper committed 2012-12-22 23:02:41 +01:00
1 parent ca137dabec
commit cec33be07a
1 file changed
+4 -1
@@ -115,7 +115,7 @@ namespace Vocaluxe.PartyModes
if (Buttons[htButtons(ButtonNextRound)].Selected) if (Buttons[htButtons(ButtonNextRound)].Selected)
NextRound(); NextRound();
if (Buttons[htButtons(ButtonBack)].Selected && GameState.CurrentRoundNr == 1) if (Buttons[htButtons(ButtonBack)].Selected && GameState.CurrentRoundNr == 1)
ShowPopup(true); //Back(); Back();
if (Buttons[htButtons(ButtonExit)].Selected && GameState.CurrentRoundNr > 1) if (Buttons[htButtons(ButtonExit)].Selected && GameState.CurrentRoundNr > 1)
ShowPopup(true); ShowPopup(true);
} }
@@ -231,6 +231,9 @@ namespace Vocaluxe.PartyModes
private void Back() private void Back()
{ {
Data.ScreenMain.FadeToNameSelection = true;
Data.ScreenMain.FadeToSongSelection = false;
_PartyMode.DataFromScreen(_ThemeName, Data);
} }
private void BuildTable() private void BuildTable()