diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-03-18 10:19:18 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-03-18 10:19:18 -0400 |
commit | c86f61fd313a9f64dd0f1c5d100f39d6a3cb8eb0 (patch) | |
tree | bd2064d723a9596b45ce2df3c33f0556cf01a681 /indra/newview/llworldmapview.cpp | |
parent | 896b88063ed0e08362c9e277e7ef8aba5afef0db (diff) | |
parent | a3a4235a8904cf4d6e565c82d5d90d8a64c15180 (diff) |
automated merge viewer2.0->viewer2.0
Diffstat (limited to 'indra/newview/llworldmapview.cpp')
-rw-r--r-- | indra/newview/llworldmapview.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llworldmapview.cpp b/indra/newview/llworldmapview.cpp index 5edf72d4ae..27757d19e5 100644 --- a/indra/newview/llworldmapview.cpp +++ b/indra/newview/llworldmapview.cpp @@ -45,6 +45,7 @@ #include "llagent.h" #include "llcallingcard.h" +#include "llcommandhandler.h" #include "llviewercontrol.h" #include "llfloatermap.h" #include "llfloaterworldmap.h" @@ -1726,7 +1727,10 @@ BOOL LLWorldMapView::handleDoubleClick( S32 x, S32 y, MASK mask ) id.toString(uuid_str); uuid_str = uuid_str.substr(28); sscanf(uuid_str.c_str(), "%X", &event_id); - LLFloaterReg::showInstance("search", LLSD().with("category", "events").with("id", event_id)); + // Invoke the event details floater if someone is clicking on an event. + LLSD params(LLSD::emptyArray()); + params.append(event_id); + LLCommandDispatcher::dispatch("event", params, LLSD(), NULL, true); break; } case MAP_ITEM_LAND_FOR_SALE: |