diff options
| author | AlexanderP ProductEngine <apaschenko@productengine.com> | 2013-01-23 19:47:01 +0200 |
|---|---|---|
| committer | AlexanderP ProductEngine <apaschenko@productengine.com> | 2013-01-23 19:47:01 +0200 |
| commit | daa9db305a5ae2c0c5b0c2425d6482de6dee7b2c (patch) | |
| tree | b475fef5981ac4a5057b0dc10ab91f49011f2d33 /indra/newview/lltoastnotifypanel.cpp | |
| parent | a6c4d127dd6ad66f9953344387e100bcff000ce5 (diff) | |
CHUI-695 Viewer crashes after attempt to accept a friendship in IM: remove an infinity loop of reshape()
Diffstat (limited to 'indra/newview/lltoastnotifypanel.cpp')
| -rw-r--r-- | indra/newview/lltoastnotifypanel.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/newview/lltoastnotifypanel.cpp b/indra/newview/lltoastnotifypanel.cpp index 268b68b539..0aab514531 100644 --- a/indra/newview/lltoastnotifypanel.cpp +++ b/indra/newview/lltoastnotifypanel.cpp @@ -537,11 +537,9 @@ LLIMToastNotifyPanel::~LLIMToastNotifyPanel() } void LLIMToastNotifyPanel::reshape(S32 width, S32 height, BOOL called_from_parent /* = TRUE */) - { - LLToastPanel::reshape(width, height, called_from_parent); - +{ snapToMessageHeight(mTextBox, MAX_LENGTH); - } +} void LLIMToastNotifyPanel::compactButtons() { |
