MAINT-6448 PERMISSION_DEBIT notification should default to Deny
parent
8d542a46c7
commit
1c7548d3bf
|
|
@ -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())
|
||||
|
|
|
|||
|
|
@ -150,6 +150,8 @@ public:
|
|||
//
|
||||
virtual void hide();
|
||||
|
||||
/*virtual*/ void setFocus(BOOL b);
|
||||
|
||||
/*virtual*/ void onFocusLost();
|
||||
|
||||
/*virtual*/ void onFocusReceived();
|
||||
|
|
|
|||
Loading…
Reference in New Issue