MAINT-6448 PERMISSION_DEBIT notification should default to Deny

meow-7.2.2
andreykproductengine 2016-07-08 15:07:52 +03:00
parent 8d542a46c7
commit 1c7548d3bf
2 changed files with 17 additions and 0 deletions

View File

@ -202,6 +202,21 @@ void LLToast::hide()
}
}
/*virtual*/
void LLToast::setFocus(BOOL b)
{
if (b && !hasFocus() && mPanel)
{
LLModalDialog::setFocus(TRUE);
// mostly for buttons
mPanel->setFocus(TRUE);
}
else
{
LLModalDialog::setFocus(b);
}
}
void LLToast::onFocusLost()
{
if(mWrapperPanel && !isBackgroundVisible())

View File

@ -150,6 +150,8 @@ public:
//
virtual void hide();
/*virtual*/ void setFocus(BOOL b);
/*virtual*/ void onFocusLost();
/*virtual*/ void onFocusReceived();