Fixed Issue#122: Check of deck and game type during creating a new table doesn't show a qualified error message

This commit is contained in:
magenoxx 2013-01-21 21:14:22 +04:00
parent 2b6e87885a
commit 2c652770fb
2 changed files with 11 additions and 1 deletions

View file

@ -398,7 +398,8 @@ public class NewTableDialog extends MageDialog {
private void handleError(Exception ex) {
logger.fatal("Error loading deck", ex);
JOptionPane.showMessageDialog(MageFrame.getDesktop(), "Error loading deck.", "Error", JOptionPane.ERROR_MESSAGE);
//JOptionPane.showMessageDialog(MageFrame.getDesktop(), "Error loading deck.", "Error", JOptionPane.ERROR_MESSAGE);
MageFrame.getInstance().showErrorDialog("Error loading deck.", ex.getMessage());
}
public void showDialog(UUID roomId) {