diff options
Diffstat (limited to 'src/jrummikub/control/LoginControl.java')
-rw-r--r-- | src/jrummikub/control/LoginControl.java | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/jrummikub/control/LoginControl.java b/src/jrummikub/control/LoginControl.java index 24bfcf6..8908c0d 100644 --- a/src/jrummikub/control/LoginControl.java +++ b/src/jrummikub/control/LoginControl.java @@ -27,7 +27,7 @@ public class LoginControl { * Constructor for login Control * * @param view - * for events which need handling + * for events which need handling */ public LoginControl(final IView view) { this.view = view; @@ -40,18 +40,21 @@ public class LoginControl { } })); - connections.add(view.getLoginPanel().getCancelEvent().add(new IListener() { - @Override - public void handle() { - abort(); - cancelEvent.emit(); - } - })); + connections.add(view.getLoginPanel().getCancelEvent() + .add(new IListener() { + @Override + public void handle() { + abort(); + cancelEvent.emit(); + } + })); } /** * Open Login panel * + * @param reset + * when true resets the information in the login panel */ public void startLogin(boolean reset) { if (reset) { |