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
3c6237f4
Commit
3c6237f4
authored
4 years ago
by
Mnikolenko Productengine
Browse files
Options
Downloads
Patches
Plain Diff
SL-14067 FIXED The 'Unable to Buy' (L$) error persists until relogin
parent
f08421e6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
indra/newview/llcurrencyuimanager.cpp
+5
-0
5 additions, 0 deletions
indra/newview/llcurrencyuimanager.cpp
indra/newview/llcurrencyuimanager.h
+2
-0
2 additions, 0 deletions
indra/newview/llcurrencyuimanager.h
indra/newview/llfloaterbuycurrency.cpp
+1
-0
1 addition, 0 deletions
indra/newview/llfloaterbuycurrency.cpp
with
8 additions
and
0 deletions
indra/newview/llcurrencyuimanager.cpp
+
5
−
0
View file @
3c6237f4
...
...
@@ -603,6 +603,11 @@ bool LLCurrencyUIManager::bought()
return
impl
.
mBought
;
}
void
LLCurrencyUIManager
::
clearError
()
{
return
impl
.
clearError
();
}
bool
LLCurrencyUIManager
::
hasError
()
{
return
impl
.
mError
;
...
...
This diff is collapsed.
Click to expand it.
indra/newview/llcurrencyuimanager.h
+
2
−
0
View file @
3c6237f4
...
...
@@ -80,6 +80,8 @@ class LLCurrencyUIManager
bool
buying
();
// are we in the process of buying?
bool
bought
();
// did the buy() transaction complete successfully
void
clearError
();
bool
hasError
();
std
::
string
errorMessage
();
std
::
string
errorURI
();
...
...
This diff is collapsed.
Click to expand it.
indra/newview/llfloaterbuycurrency.cpp
+
1
−
0
View file @
3c6237f4
...
...
@@ -184,6 +184,7 @@ void LLFloaterBuyCurrencyUI::updateUI()
args
[
"TITLE"
]
=
getString
(
"info_cannot_buy"
);
args
[
"MESSAGE"
]
=
mManager
.
errorMessage
();
LLNotificationsUtil
::
add
(
"CouldNotBuyCurrency"
,
args
);
mManager
.
clearError
();
closeFloater
();
}
else
...
...
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