diff options
| author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2026-01-08 18:50:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-08 18:50:40 +0200 |
| commit | 6d5b05294bc68b1f2ab0a1e7dec5515c583205df (patch) | |
| tree | 861b8e30c714a36f3d421f190fdfd49cc99effb2 | |
| parent | 415e54a8e6e72e28b191187c34cbfec01f838579 (diff) | |
#5228 crash at updateLoginButtons
| -rw-r--r-- | indra/newview/llpanellogin.cpp | 10 |
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(), ')'); |
