Fixed a bug that quitting a tournament by using the "Quit Tournament" button on the tournament panel did not work (fixes #1601).

This commit is contained in:
LevelX2 2016-03-09 12:25:01 +01:00
parent c270fdeb34
commit 4f8a3e5ae8

View file

@ -540,6 +540,7 @@ public class TournamentPanel extends javax.swing.JPanel {
UserRequestMessage message = new UserRequestMessage("Confirm quit tournament", "Are you sure you want to quit the tournament?");
message.setButton1("No", null);
message.setButton2("Yes", PlayerAction.CLIENT_QUIT_TOURNAMENT);
message.setTournamentId(tournamentId);
MageFrame.getInstance().showUserRequestDialog(message);
}//GEN-LAST:event_btnQuitTournamentActionPerformed