SL-13335 Init default button width
parent
2c0814b00a
commit
7ae4f766f0
|
|
@ -125,10 +125,6 @@ LLToastAlertPanel::LLToastAlertPanel( LLNotificationPtr notification, bool modal
|
|||
{
|
||||
data.mWidth = (*it)["width"].asInteger();
|
||||
}
|
||||
else
|
||||
{
|
||||
data.mWidth = 0;
|
||||
}
|
||||
|
||||
mButtonData.push_back(data);
|
||||
option_index++;
|
||||
|
|
|
|||
|
|
@ -82,6 +82,10 @@ private:
|
|||
|
||||
struct ButtonData
|
||||
{
|
||||
ButtonData()
|
||||
: mWidth(0)
|
||||
{}
|
||||
|
||||
LLButton* mButton;
|
||||
std::string mURL;
|
||||
U32 mURLExternal;
|
||||
|
|
|
|||
Loading…
Reference in New Issue