diff --git a/indra/newview/lffloaterinvpanel.h b/indra/newview/lffloaterinvpanel.h index 51dac3369..724fed98d 100644 --- a/indra/newview/lffloaterinvpanel.h +++ b/indra/newview/lffloaterinvpanel.h @@ -33,6 +33,13 @@ class LFFloaterInvPanel : public LLFloater, public LLInstanceTrackerclose(); + else + show(cat); + } static void closeAll(); // Called when not allowed to have inventory open /*virtual*/ BOOL handleKeyHere(KEY key, MASK mask); diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index e2b7e52cf..8361f1863 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -8938,7 +8938,7 @@ class SinguUrlAction : public view_listener_t void show_inv_floater(const LLSD& userdata, const std::string& field) { - LFFloaterInvPanel::show(LLSD().with(field, userdata)); + LFFloaterInvPanel::toggle(LLSD().with(field, userdata)); } static void visible_inv_floater(const LLSD& userdata, const std::string& field)