diff options
author | Jacek Antonelli | 2009-01-11 16:10:10 -0600 |
---|---|---|
committer | Jacek Antonelli | 2009-01-11 16:10:15 -0600 |
commit | 6156baad67c744ed03ea47798bfeb8a77698efc6 (patch) | |
tree | 872d35ff6df740462d8cb574d03f746dfd5dd1ae /linden/indra/newview/llviewermenu.cpp | |
parent | Second Life viewer sources 1.22.3-RC (diff) | |
download | meta-impy-6156baad67c744ed03ea47798bfeb8a77698efc6.zip meta-impy-6156baad67c744ed03ea47798bfeb8a77698efc6.tar.gz meta-impy-6156baad67c744ed03ea47798bfeb8a77698efc6.tar.bz2 meta-impy-6156baad67c744ed03ea47798bfeb8a77698efc6.tar.xz |
Second Life viewer sources 1.22.4-RC
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 | } |