diff options
author | Loren Shih <seraph@lindenlab.com> | 2009-12-10 14:25:25 -0500 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2009-12-10 14:25:25 -0500 |
commit | e85cf743e51e93379f7f7afd04cdcd4b9e6b01c1 (patch) | |
tree | 11507cced90ffb96c1c7fe3d499c56eb1ff4ec4a /indra/newview/llviewermenu.cpp | |
parent | 1ca104f325d60d4f91a6227f06720977b17da1b1 (diff) | |
parent | d575af6a6545708d05e06a1e8614a84ca5cab458 (diff) |
automated merge viewer2.0->viewer2.0
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rw-r--r-- | indra/newview/llviewermenu.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 78322dda75..9def699708 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -59,6 +59,7 @@ #include "llfloaterland.h" #include "llfloaterpay.h" #include "llfloaterreporter.h" +#include "llfloatersearch.h" #include "llfloaterscriptdebug.h" #include "llfloatertools.h" #include "llfloaterworldmap.h" @@ -3408,6 +3409,13 @@ void set_god_level(U8 god_level) // changing god-level can affect which menus we see show_debug_menus(); + + // changing god-level can invalidate search results + LLFloaterSearch *search = dynamic_cast<LLFloaterSearch*>(LLFloaterReg::getInstance("search")); + if (search) + { + search->godLevelChanged(god_level); + } } #ifdef TOGGLE_HACKED_GODLIKE_VIEWER |