mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
added some client window management + suppress calls when TablesPane is not visible
This commit is contained in:
parent
79583a6ec2
commit
d8fca737fd
27 changed files with 239 additions and 196 deletions
|
|
@ -301,7 +301,7 @@ public class NewTableDialog extends MageDialog {
|
|||
private void btnCancelActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCancelActionPerformed
|
||||
this.table = null;
|
||||
this.playerId = null;
|
||||
this.setVisible(false);
|
||||
this.hideDialog();
|
||||
}//GEN-LAST:event_btnCancelActionPerformed
|
||||
|
||||
private void btnOKActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnOKActionPerformed
|
||||
|
|
@ -332,7 +332,7 @@ public class NewTableDialog extends MageDialog {
|
|||
}
|
||||
}
|
||||
}
|
||||
this.setVisible(false);
|
||||
this.hideDialog();
|
||||
return;
|
||||
}
|
||||
} catch (FileNotFoundException ex) {
|
||||
|
|
@ -421,7 +421,7 @@ public class NewTableDialog extends MageDialog {
|
|||
this.setModal(true);
|
||||
setGameOptions();
|
||||
this.setLocation(150, 100);
|
||||
this.setVisible(true);
|
||||
this.setVisible(true);
|
||||
}
|
||||
|
||||
public TableView getTable() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue