|
@@ -448,6 +448,11 @@ static bool onButtonClick_PwdConfirmButton(ZKButton *pButton) {
|
|
|
if (pwd == cpwd){
|
|
|
mPwdWindowPtr->hideWnd();
|
|
|
mServerWindowPtr->showWnd();
|
|
|
+
|
|
|
+ string serverIp = StoragePreferences::getString(STORE_GATEWAY, "172.28.100.100");
|
|
|
+ int serverPort = StoragePreferences::getInt(STORE_HTTP_PORT, 8006);
|
|
|
+ mServerIpEditTextPtr->setText(serverIp);
|
|
|
+ mServerPortEditTextPtr->setText(to_string(serverPort));
|
|
|
} else {
|
|
|
mPwdPromptTextViewPtr->setTextTr("PasswordWrong");
|
|
|
mPwdPromptTextViewPtr->setTextColor(0xFFFF0000);
|