* Fixed for bug [ 1620092 ]

This commit is contained in:
Heng Sin Low 2006-12-21 23:20:26 +00:00
parent 09f00b0bc9
commit 00d01bc652
1 changed files with 3 additions and 1 deletions

View File

@ -362,6 +362,8 @@ public final class ALogin extends CDialog
m_connectionOK = false; m_connectionOK = false;
validateAppServer(); validateAppServer();
//make sure connecting to new database
DB.closeTarget();
connectToDatabase(); connectToDatabase();
// //
hostField.setDisplay(); hostField.setDisplay();
@ -416,7 +418,7 @@ public final class ALogin extends CDialog
else if (e.getActionCommand().equals(ConfirmPanel.A_CANCEL)) else if (e.getActionCommand().equals(ConfirmPanel.A_CANCEL))
appExit(); appExit();
// //
else if (e.getSource() == hostField) else if (e.getSource() == hostField)
validateConnection(); validateConnection();
else if (e.getSource() == languageCombo) else if (e.getSource() == languageCombo)
languageComboChanged(); languageComboChanged();