diff options
author | maxim_productengine <mnikolenko@productengine.com> | 2018-02-14 11:37:07 +0200 |
---|---|---|
committer | maxim_productengine <mnikolenko@productengine.com> | 2018-02-14 11:37:07 +0200 |
commit | 52eb540ccad5c1f70e867a5dd3a82c75d574ae5b (patch) | |
tree | 551a014e721f3cc83f2dc7fb4bb7c97b05758a69 /indra/llui | |
parent | 23960d2d9491f756bb844529f85a8a612a2ddb90 (diff) |
MAINT-8287 FIXED [Mac] Crash when creating group role with 'Manage ban list' ability
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llscrolllistctrl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llui/llscrolllistctrl.cpp b/indra/llui/llscrolllistctrl.cpp index 7c1f4a4dca..212e27477b 100644 --- a/indra/llui/llscrolllistctrl.cpp +++ b/indra/llui/llscrolllistctrl.cpp @@ -1964,6 +1964,10 @@ BOOL LLScrollListCtrl::handleClick(S32 x, S32 y, MASK mask) LLScrollListCell* cellp = item->getColumn(column_index); cellp->setValue(item_value); cellp->onCommit(); + if (mLastSelected == NULL) + { + break; + } } } //FIXME: find a better way to signal cell changes |