diff options
author | Steven Bennetts <steve@lindenlab.com> | 2008-02-28 01:12:38 +0000 |
---|---|---|
committer | Steven Bennetts <steve@lindenlab.com> | 2008-02-28 01:12:38 +0000 |
commit | 42bc4ba02abebced9fc3e7f91317ae293cbd20dd (patch) | |
tree | 133688c2ed85f8efcc717b37d0f276d4ea761c0b /indra/llui/llpanel.cpp | |
parent | 6d52efe452aa8469e0343da1c7d108f3f52ab651 (diff) |
merge Branch_1-19-0-Viewer -r 80279 : 80947 -> release
Diffstat (limited to 'indra/llui/llpanel.cpp')
-rw-r--r-- | indra/llui/llpanel.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/llui/llpanel.cpp b/indra/llui/llpanel.cpp index 4c16683704..cb732a17c6 100644 --- a/indra/llui/llpanel.cpp +++ b/indra/llui/llpanel.cpp @@ -212,10 +212,16 @@ void LLPanel::draw() } updateDefaultBtn(); + + LLView::draw(); } void LLPanel::updateDefaultBtn() { + // This method does not call LLView::draw() so callers will need + // to take care of that themselves at the appropriate place in + // their rendering sequence + if( mDefaultBtn) { if (gFocusMgr.childHasKeyboardFocus( this ) && mDefaultBtn->getEnabled()) @@ -230,8 +236,6 @@ void LLPanel::updateDefaultBtn() mDefaultBtn->setBorderEnabled(FALSE); } } - - LLView::draw(); } void LLPanel::refresh() |