summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 459037ef..5308304f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1141,6 +1141,12 @@ int main(int argc, char *argv[])
currentDialog = NULL; // OkDialog deletes itself
break;
+ case STATE_REGISTER_PREP:
+ logger->log("State: REGISTER_PREP");
+ Net::getLoginHandler()->getRegistrationDetails();
+ currentDialog = new ConnectionDialog(STATE_LOGIN);
+ break;
+
case STATE_REGISTER:
logger->log("State: REGISTER");
currentDialog = new RegisterDialog(&loginData);