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
meow-7.2.2
Richard Linden 2010-06-01 18:28:46 -07:00
parent 76afe7c0f5
commit 71fe767d9a
2 changed files with 5 additions and 2 deletions

View File

@ -2519,7 +2519,7 @@ LLFloater *LLFloaterView::getBackmost() const
void LLFloaterView::syncFloaterTabOrder()
{
// look for a visible modal dialog, starting from first (should be only one)
// look for a visible modal dialog, starting from first
LLModalDialog* modal_dialog = NULL;
for ( child_list_const_iter_t child_it = getChildList()->begin(); child_it != getChildList()->end(); ++child_it)
{

View File

@ -271,7 +271,10 @@ void LLToast::setVisible(BOOL show)
{
mTimer->start();
}
LLModalDialog::setFrontmost(FALSE);
if (!getVisible())
{
LLModalDialog::setFrontmost(FALSE);
}
}
else
{