From 6156baad67c744ed03ea47798bfeb8a77698efc6 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Sun, 11 Jan 2009 16:10:10 -0600 Subject: Second Life viewer sources 1.22.4-RC --- linden/indra/newview/llviewermenu.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'linden/indra/newview/llviewermenu.cpp') 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 { new_value = LLFloaterBeacons::instanceVisible(LLSD()); } + else if (floater_name == "inventory") + { + LLInventoryView* iv = LLInventoryView::getActiveInventory(); + new_value = (NULL != iv && TRUE == iv->getVisible()); + } gMenuHolder->findControl(control_name)->setValue(new_value); return true; } -- cgit v1.1