Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
fed4d339
Commit
fed4d339
authored
5 years ago
by
andreykproductengine
Browse files
Options
Downloads
Patches
Plain Diff
SL-9699 Fixed processing of placeholder #2
parent
e32a2e2f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/llfloaterforgetuser.cpp
+13
-9
13 additions, 9 deletions
indra/newview/llfloaterforgetuser.cpp
with
13 additions
and
9 deletions
indra/newview/llfloaterforgetuser.cpp
+
13
−
9
View file @
fed4d339
...
@@ -54,7 +54,7 @@ LLFloaterForgetUser::~LLFloaterForgetUser()
...
@@ -54,7 +54,7 @@ LLFloaterForgetUser::~LLFloaterForgetUser()
BOOL
LLFloaterForgetUser
::
postBuild
()
BOOL
LLFloaterForgetUser
::
postBuild
()
{
{
// Note, storage works per grid, watever is selected currently in login screen or logged in.
// Note, storage works per grid, w
h
atever is selected currently in login screen or logged in.
// Since login screen can change grid, store the value.
// Since login screen can change grid, store the value.
mGrid
=
LLGridManager
::
getInstance
()
->
getGrid
();
mGrid
=
LLGridManager
::
getInstance
()
->
getGrid
();
...
@@ -87,14 +87,18 @@ BOOL LLFloaterForgetUser::postBuild()
...
@@ -87,14 +87,18 @@ BOOL LLFloaterForgetUser::postBuild()
LLPointer
<
LLCredential
>
cred
=
gSecAPIHandler
->
loadCredential
(
mGrid
);
LLPointer
<
LLCredential
>
cred
=
gSecAPIHandler
->
loadCredential
(
mGrid
);
if
(
cred
.
notNull
())
if
(
cred
.
notNull
())
{
{
LLScrollListItem
::
Params
item_params
;
const
LLSD
&
ident
=
cred
->
getIdentifier
();
item_params
.
value
(
cred
->
userID
());
if
(
ident
.
isMap
()
&&
ident
.
has
(
"type"
))
item_params
.
columns
.
add
()
{
.
value
(
LLPanelLogin
::
getUserName
(
cred
))
LLScrollListItem
::
Params
item_params
;
.
column
(
"user"
)
item_params
.
value
(
cred
->
userID
());
.
font
(
LLFontGL
::
getFontSansSerifSmall
());
item_params
.
columns
.
add
()
scroll_list
->
addRow
(
item_params
,
ADD_BOTTOM
);
.
value
(
LLPanelLogin
::
getUserName
(
cred
))
scroll_list
->
selectFirstItem
();
.
column
(
"user"
)
.
font
(
LLFontGL
::
getFontSansSerifSmall
());
scroll_list
->
addRow
(
item_params
,
ADD_BOTTOM
);
scroll_list
->
selectFirstItem
();
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment