Skip to content

Commit 47c76ae

Browse files
OAarneRedande
authored andcommitted
Fixed login error message hierarcy
1 parent e709a4e commit 47c76ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tmc-plugin/src/fi/helsinki/cs/tmc/ui/LoginDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public void windowClosed(WindowEvent e) {
3535
* Creates new form LoginForm
3636
*/
3737
public LoginDialog(ActionListener onLogin) {
38-
super(WindowManager.getDefault().getMainWindow(), true);
38+
super(WindowManager.getDefault().getMainWindow(), false);
3939
initComponents();
4040

4141
this.setDefaultCloseOperation(DISPOSE_ON_CLOSE);

tmc-plugin/src/fi/helsinki/cs/tmc/utilities/LoginManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void actionPerformed(ActionEvent e) {
5252
log.log(Level.WARNING, "Authentication failed!", ex);
5353
if (ex instanceof AuthenticationFailedException) {
5454
authenticationException = (AuthenticationFailedException) ex;
55-
// ConvenientDialogDisplayer.getDefault().displayError("Username or password is incorrect.", ex);
55+
ConvenientDialogDisplayer.getDefault().displayError("Username or password is incorrect.", ex);
5656
}
5757
}
5858
setReady(true);

0 commit comments

Comments
 (0)