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
8f5f68d1
Commit
8f5f68d1
authored
14 years ago
by
Merov Linden
Browse files
Options
Downloads
Patches
Plain Diff
STORM-524 : Fix update L$ balance when buying currency
parent
0df07ea3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/newview/llfloaterbuycurrency.cpp
+6
-3
6 additions, 3 deletions
indra/newview/llfloaterbuycurrency.cpp
indra/newview/llfloaterbuycurrencyhtml.cpp
+1
-1
1 addition, 1 deletion
indra/newview/llfloaterbuycurrencyhtml.cpp
with
7 additions
and
4 deletions
indra/newview/llfloaterbuycurrency.cpp
+
6
−
3
View file @
8f5f68d1
...
@@ -261,26 +261,29 @@ void LLFloaterBuyCurrencyUI::updateUI()
...
@@ -261,26 +261,29 @@ void LLFloaterBuyCurrencyUI::updateUI()
}
}
getChildView
(
"getting_data"
)
->
setVisible
(
!
mManager
.
canBuy
()
&&
!
hasError
);
getChildView
(
"getting_data"
)
->
setVisible
(
!
mManager
.
canBuy
()
&&
!
hasError
);
// Update L$ balance
LLStatusBar
::
sendMoneyBalanceRequest
();
}
}
void
LLFloaterBuyCurrencyUI
::
onClickBuy
()
void
LLFloaterBuyCurrencyUI
::
onClickBuy
()
{
{
mManager
.
buy
(
getString
(
"buy_currency"
));
mManager
.
buy
(
getString
(
"buy_currency"
));
updateUI
();
updateUI
();
// Update L$ balance
LLStatusBar
::
sendMoneyBalanceRequest
();
}
}
void
LLFloaterBuyCurrencyUI
::
onClickCancel
()
void
LLFloaterBuyCurrencyUI
::
onClickCancel
()
{
{
closeFloater
();
closeFloater
();
// Update L$ balance
LLStatusBar
::
sendMoneyBalanceRequest
();
}
}
void
LLFloaterBuyCurrencyUI
::
onClickErrorWeb
()
void
LLFloaterBuyCurrencyUI
::
onClickErrorWeb
()
{
{
LLWeb
::
loadURLExternal
(
mManager
.
errorURI
());
LLWeb
::
loadURLExternal
(
mManager
.
errorURI
());
closeFloater
();
closeFloater
();
// Update L$ balance
LLStatusBar
::
sendMoneyBalanceRequest
();
}
}
// static
// static
...
...
This diff is collapsed.
Click to expand it.
indra/newview/llfloaterbuycurrencyhtml.cpp
+
1
−
1
View file @
8f5f68d1
...
@@ -82,7 +82,7 @@ void LLFloaterBuyCurrencyHTML::navigateToFinalURL()
...
@@ -82,7 +82,7 @@ void LLFloaterBuyCurrencyHTML::navigateToFinalURL()
LLStringUtil
::
format
(
buy_currency_url
,
replace
);
LLStringUtil
::
format
(
buy_currency_url
,
replace
);
// write final URL to debug console
// write final URL to debug console
llinfos
<<
"Buy currency HTML p
r
ased URL is "
<<
buy_currency_url
<<
llendl
;
llinfos
<<
"Buy currency HTML pa
r
sed URL is "
<<
buy_currency_url
<<
llendl
;
// kick off the navigation
// kick off the navigation
mBrowser
->
navigateTo
(
buy_currency_url
,
"text/html"
);
mBrowser
->
navigateTo
(
buy_currency_url
,
"text/html"
);
...
...
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