diff options
author | Jacek Antonelli | 2008-08-15 23:45:30 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:30 -0500 |
commit | 6fa6022a3f6d5bf71d97a59ec89929575f2ffd11 (patch) | |
tree | 3d1f89612dab6f8a8089ccac8cfeb6372f6fad8c /linden/indra/llui/llpanel.cpp | |
parent | Second Life viewer sources 1.19.0.2 (diff) | |
download | meta-impy-6fa6022a3f6d5bf71d97a59ec89929575f2ffd11.zip meta-impy-6fa6022a3f6d5bf71d97a59ec89929575f2ffd11.tar.gz meta-impy-6fa6022a3f6d5bf71d97a59ec89929575f2ffd11.tar.bz2 meta-impy-6fa6022a3f6d5bf71d97a59ec89929575f2ffd11.tar.xz |
Second Life viewer sources 1.19.0.3
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/llpanel.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/linden/indra/llui/llpanel.cpp b/linden/indra/llui/llpanel.cpp index 7430e50..b72e104 100644 --- a/linden/indra/llui/llpanel.cpp +++ b/linden/indra/llui/llpanel.cpp | |||
@@ -214,6 +214,17 @@ void LLPanel::draw() | |||
214 | } | 214 | } |
215 | } | 215 | } |
216 | 216 | ||
217 | updateDefaultBtn(); | ||
218 | |||
219 | LLView::draw(); | ||
220 | } | ||
221 | |||
222 | void LLPanel::updateDefaultBtn() | ||
223 | { | ||
224 | // This method does not call LLView::draw() so callers will need | ||
225 | // to take care of that themselves at the appropriate place in | ||
226 | // their rendering sequence | ||
227 | |||
217 | if( mDefaultBtn) | 228 | if( mDefaultBtn) |
218 | { | 229 | { |
219 | if (gFocusMgr.childHasKeyboardFocus( this ) && mDefaultBtn->getEnabled()) | 230 | if (gFocusMgr.childHasKeyboardFocus( this ) && mDefaultBtn->getEnabled()) |
@@ -228,8 +239,6 @@ void LLPanel::draw() | |||
228 | mDefaultBtn->setBorderEnabled(FALSE); | 239 | mDefaultBtn->setBorderEnabled(FALSE); |
229 | } | 240 | } |
230 | } | 241 | } |
231 | |||
232 | LLView::draw(); | ||
233 | } | 242 | } |
234 | 243 | ||
235 | void LLPanel::refresh() | 244 | void LLPanel::refresh() |