summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2026-01-08 18:50:40 +0200
committerGitHub <noreply@github.com>2026-01-08 18:50:40 +0200
commit6d5b05294bc68b1f2ab0a1e7dec5515c583205df (patch)
tree861b8e30c714a36f3d421f190fdfd49cc99effb2 /indra/newview
parent415e54a8e6e72e28b191187c34cbfec01f838579 (diff)
#5228 crash at updateLoginButtons
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llpanellogin.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp
index 00b592d86e..868e02f28b 100644
--- a/indra/newview/llpanellogin.cpp
+++ b/indra/newview/llpanellogin.cpp
@@ -220,6 +220,11 @@ LLPanelLogin::LLPanelLogin(const LLRect &rect,
// STEAM-14: When user presses Enter with this field in focus, initiate login
password_edit->setCommitCallback(boost::bind(&LLPanelLogin::onClickConnect, false));
+ childSetAction("connect_btn", onClickConnect, this);
+
+ mLoginBtn = getChild<LLButton>("connect_btn");
+ setDefaultBtn(mLoginBtn);
+
// change z sort of clickable text to be behind buttons
sendChildToBack(getChildView("forgot_password_text"));
sendChildToBack(getChildView("sign_up_text"));
@@ -296,11 +301,6 @@ LLPanelLogin::LLPanelLogin(const LLRect &rect,
onUpdateStartSLURL(start_slurl); // updates grid if needed
}
- childSetAction("connect_btn", onClickConnect, this);
-
- mLoginBtn = getChild<LLButton>("connect_btn");
- setDefaultBtn(mLoginBtn);
-
std::string channel = LLVersionInfo::instance().getChannel();
std::string version = stringize(LLVersionInfo::instance().getShortVersion(), " (",
LLVersionInfo::instance().getBuild(), ')');