summaryrefslogtreecommitdiff
path: root/indra/llui/llbutton.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-06-02 20:17:25 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-06-02 20:17:25 +0100
commite57ae451744f08c1c614ef6903918ba4be6d4674 (patch)
tree00608932937c6b75f9b2cdc72d151005425f95a5 /indra/llui/llbutton.cpp
parent6b45a32ac56b95f3e70ba4948819d470f3574cea (diff)
parent142a6c3b8fa9e286c0336236d1eccd9a6725f06a (diff)
merge from PE's viewer-trunk
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;