summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2016-02-15 11:07:56 +0200
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2016-02-15 11:07:56 +0200
commit9cc913b36d25be142cd7029972526848c198c3a4 (patch)
tree9cc32e4b270d8f9a32a34f84cf217ed67e9c93ad /indra
parent7d0a285958edb5ed500e9921806eae039d0276ea (diff)
MAINT-867 Inventory dialog stays in transparent mode after object was taken to inventory
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llinventorypanel.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp
index 5194cba891..4ffd3d727a 100755
--- a/indra/newview/llinventorypanel.cpp
+++ b/indra/newview/llinventorypanel.cpp
@@ -1332,6 +1332,11 @@ void LLInventoryPanel::openInventoryPanelAndSetSelection(BOOL auto_open, const L
}
else
{
+ LLFloater* floater_inventory = LLFloaterReg::getInstance("inventory");
+ if (floater_inventory)
+ {
+ floater_inventory->setFocus(TRUE);
+ }
active_panel->setSelection(obj_id, TAKE_FOCUS_YES);
}
}