From 5373997b309ddb4f26dbb4a5136bbb094bd8610c Mon Sep 17 00:00:00 2001 From: spjspj Date: Wed, 19 Apr 2017 10:30:40 +1000 Subject: [PATCH] Undo double tap of ok button (Leading to duplicate tournaments - Fixes #3154) --- .../src/main/java/mage/client/dialog/NewTournamentDialog.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/Mage.Client/src/main/java/mage/client/dialog/NewTournamentDialog.java b/Mage.Client/src/main/java/mage/client/dialog/NewTournamentDialog.java index fec1372e90..7baf4abf42 100644 --- a/Mage.Client/src/main/java/mage/client/dialog/NewTournamentDialog.java +++ b/Mage.Client/src/main/java/mage/client/dialog/NewTournamentDialog.java @@ -322,9 +322,6 @@ public class NewTournamentDialog extends MageDialog { btnOk.setText("OK"); btnOk.addActionListener(evt -> btnOkActionPerformed(evt)); - btnOk.setText("OK"); - btnOk.addActionListener(evt -> btnOkActionPerformed(evt)); - btnCancel.setText("Cancel"); btnCancel.addActionListener(evt -> btnCancelActionPerformed(evt));