SL-13335 Init default button width

master
Mnikolenko Productengine 2020-09-23 16:57:54 +03:00
parent 2c0814b00a
commit 7ae4f766f0
2 changed files with 4 additions and 4 deletions

View File

@ -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++;

View File

@ -82,6 +82,10 @@ private:
struct ButtonData
{
ButtonData()
: mWidth(0)
{}
LLButton* mButton;
std::string mURL;
U32 mURLExternal;