summaryrefslogtreecommitdiff
path: root/indra/newview/lltoast.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-06-01 18:28:46 -0700
committerRichard Linden <none@none>2010-06-01 18:28:46 -0700
commit71fe767d9a151c6e92d7cdb6b9ab820ce814de44 (patch)
tree80a4a533c739f9efeeea1fe8e572db3c459acb70 /indra/newview/lltoast.cpp
parent76afe7c0f5385a7eacbe96c501c0818cd4408619 (diff)
EXT-7590 FIX Modal alerts obscure any modal alerts that they spawn
the toast logic to set visibility on dialogs in reverse order was bringing older modal dialogs to the front
Diffstat (limited to 'indra/newview/lltoast.cpp')
-rw-r--r--indra/newview/lltoast.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/lltoast.cpp b/indra/newview/lltoast.cpp
index 568cd4cb19..9abfab300c 100644
--- a/indra/newview/lltoast.cpp
+++ b/indra/newview/lltoast.cpp
@@ -271,7 +271,10 @@ void LLToast::setVisible(BOOL show)
{
mTimer->start();
}
- LLModalDialog::setFrontmost(FALSE);
+ if (!getVisible())
+ {
+ LLModalDialog::setFrontmost(FALSE);
+ }
}
else
{