summaryrefslogtreecommitdiff
path: root/indra/llui/llbutton.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-06-02 21:22:17 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-06-02 21:22:17 +0100
commitbd174cbceb593500ab8b8c861464018a7afd0bc6 (patch)
tree4d93707189b03e824b91f8672db10a425a54713a /indra/llui/llbutton.cpp
parentf520ef3f5214bcab526b6f57c77a732e99ba2397 (diff)
parente57ae451744f08c1c614ef6903918ba4be6d4674 (diff)
merge from viewer-public
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;