summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2019-05-02 13:11:18 +0300
committermaxim_productengine <mnikolenko@productengine.com>2019-05-02 13:11:18 +0300
commitbe0c609eaf48fe876b47ac94627c9237c457348a (patch)
tree26b7276b861600f1cd7d9691e430cf8cc5ffd848 /indra
parent89884ed1465ed4baf811e05172dd13f9af97bcbb (diff)
SL-11072 FIXED Crash in LLInventoryAction::doToSelected(2406)
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llinventoryfunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp
index b0004c5e58..646d92b9e1 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;