All submissions to this site are governed by the Second Life Viewer Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.

Review Board 1.6.11

Welcome to the Second Life Viewer Code Review tool.
See the documentation on our wiki for how to use this site.

STORM-524 : Refresh L$ balance

Review Request #6 - Created Dec. 8, 2010 and submitted

Merov Linden Reviewers
https://bitbucket.org/lindenlab/viewer-beta viewer
STORM-524
None viewer-beta
Since the L$ balance can be updated by events outside the viewer entirely (purchase of L$ on web) and since we do not pool or receive notifications for this, I implemented a simple "click to refresh" event on the LLTextBox holding the L$ balance value (proposed by Q in JIRA).
I modified the tooltip to reflect this new functionality.

 
Review request changed
Updated (Dec. 10, 2010, 4:21 p.m.)
Took Vadim's comment into account pulling the balance update out of updateUI() and only in onClick() calls or close UI calls
Ship it!
Posted (Dec. 11, 2010, 3:37 a.m.)
No more objections.
Ship it!
Posted (Dec. 16, 2010, 9:11 a.m.)
> 99% chance that this is correct (not counting the added line with trailing white space ;).

Something that can impossibly be harmful, but what made me wonder, is that before
getChild<LLTextBox>("balance") never has setVisible called in the old code, but
in the new code apparently needs it (definitely looking logical from the context
where it is added). But I suppose that it's irrelevant.