From b5a95c2e1151ce61a2615cffcbb6821c150f40fd Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sat, 24 Mar 2007 13:05:27 +0000 Subject: Make sure that when a network error occurs, the error message is available and shown to the user. Also, only enable Register button when all necessary fields are filled in. --- src/gui/login.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/login.cpp') diff --git a/src/gui/login.cpp b/src/gui/login.cpp index 4e4c5b34..2c13f204 100644 --- a/src/gui/login.cpp +++ b/src/gui/login.cpp @@ -148,7 +148,7 @@ LoginDialog::action(const gcn::ActionEvent &event) } void -LoginDialog::keyPressed(gcn::KeyEvent& keyEvent) +LoginDialog::keyPressed(gcn::KeyEvent &keyEvent) { mOkButton->setEnabled(canSubmit()); } -- cgit v1.2.3-70-g09d2