mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
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:
parent
c270fdeb34
commit
4f8a3e5ae8
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue