diff --git a/doc/contributions.txt b/doc/contributions.txt index 4e9255925676b127dc7e7a1be3769cbab49d6b7b..2d2a5c51fc8272c2c7ec9b2e4c5d3ad83ac9ba55 100755 --- a/doc/contributions.txt +++ b/doc/contributions.txt @@ -1079,6 +1079,7 @@ Nicky Dasmijn STORM-2010 STORM-2082 MAINT-6665 + SL-11072 Nicky Perian OPEN-1 STORM-1087 diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp index b0004c5e58fca2304d1525a2a37104fb01309268..646d92b9e15e34241f3abfbb574248bc89644444 100644 --- a/indra/newview/llinventoryfunctions.cpp +++ b/indra/newview/llinventoryfunctions.cpp @@ -2402,7 +2402,7 @@ void LLInventoryAction::doToSelected(LLInventoryModel* model, LLFolderView* root LLFolderViewItem* folder_item = *set_iter; if (folder_item) { - LLInvFVBridge* bridge = (LLInvFVBridge*)folder_item->getViewModelItem(); + LLInvFVBridge* bridge = dynamic_cast<LLInvFVBridge*>(folder_item->getViewModelItem()); if (!bridge || !bridge->isMultiPreviewAllowed()) { open_multi_preview = false;