diff options
author | Andrew Dyukov <adyukov@productengine.com> | 2010-06-01 16:42:31 +0300 |
---|---|---|
committer | Andrew Dyukov <adyukov@productengine.com> | 2010-06-01 16:42:31 +0300 |
commit | 1e090dafa6271ec2acb92441bcbbbbe058124be0 (patch) | |
tree | 32e5878a9d53c364a2f4dc743c03d3226c29302a /indra/llui/llbutton.cpp | |
parent | 15b420d0799bb63b7dc7ffb843fe0034f3158ff0 (diff) |
EXT-7087 ADDITIONAL FIX Style changes regarding image_flash attribute
Removed default "FlashIconAbsent" value of image_flash button attribute. Changed check for presence of thic icon in code accordingly.
--HG--
branch : product-engine
Diffstat (limited to 'indra/llui/llbutton.cpp')
-rw-r--r-- | indra/llui/llbutton.cpp | 4 |
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; |