diff options
Diffstat (limited to 'linden/indra/newview/llviewermenu.cpp')
-rw-r--r-- | linden/indra/newview/llviewermenu.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp index dff31e1..ea38545 100644 --- a/linden/indra/newview/llviewermenu.cpp +++ b/linden/indra/newview/llviewermenu.cpp | |||
@@ -5330,6 +5330,11 @@ class LLFloaterVisible : public view_listener_t | |||
5330 | { | 5330 | { |
5331 | new_value = LLFloaterBeacons::instanceVisible(LLSD()); | 5331 | new_value = LLFloaterBeacons::instanceVisible(LLSD()); |
5332 | } | 5332 | } |
5333 | else if (floater_name == "inventory") | ||
5334 | { | ||
5335 | LLInventoryView* iv = LLInventoryView::getActiveInventory(); | ||
5336 | new_value = (NULL != iv && TRUE == iv->getVisible()); | ||
5337 | } | ||
5333 | gMenuHolder->findControl(control_name)->setValue(new_value); | 5338 | gMenuHolder->findControl(control_name)->setValue(new_value); |
5334 | return true; | 5339 | return true; |
5335 | } | 5340 | } |