summaryrefslogtreecommitdiff
path: root/indra/llui/llbutton.cpp
diff options
context:
space:
mode:
authorMark Palange (Mani) <palange@lindenlab.com>2010-06-07 13:16:39 -0700
committerMark Palange (Mani) <palange@lindenlab.com>2010-06-07 13:16:39 -0700
commit09e1f88cc6a7dc0f52ad9d620a27cd54b4af021c (patch)
treeaf6fb655a9dff65772855d1bf9d67b1f6acb0f01 /indra/llui/llbutton.cpp
parent71f39136795609700a6eb46aad7b0f1397a860d0 (diff)
parent474832b084891df42d731e6d48770b9e969d7b2a (diff)
Automated merge with ssh://hg.lindenlab.com/palange/viewer-2-0
Diffstat (limited to 'indra/llui/llbutton.cpp')
-rw-r--r--indra/llui/llbutton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/llbutton.cpp b/indra/llui/llbutton.cpp
index a8f72183fd..34f3049f2e 100644
--- a/indra/llui/llbutton.cpp
+++ b/indra/llui/llbutton.cpp
@@ -636,8 +636,8 @@ void LLButton::draw()
if (mFlashing)
{
- // if we have icon for flashing, use it as image for button
- if(flash && mImageFlash->getName() != "FlashIconAbsent")
+ // if button should flash and we have icon for flashing, use it as image for button
+ if(flash && mImageFlash)
{
// setting flash to false to avoid its further influence on glow
flash = false;