From 62214e082f8ba47f1224353422a4606c5c01b14f Mon Sep 17 00:00:00 2001 From: Yuri Chebotarev Date: Tue, 27 Apr 2010 19:26:33 +0300 Subject: fix EXT-6998 Group creator has no rights to view group owned land reviewded Mike Antipov https://codereview.productengine.com/secondlife/r/319/ --HG-- branch : product-engine --- indra/newview/llpanelgrouplandmoney.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'indra/newview/llpanelgrouplandmoney.cpp') diff --git a/indra/newview/llpanelgrouplandmoney.cpp b/indra/newview/llpanelgrouplandmoney.cpp index 9ac3a07041..65fe7165c2 100644 --- a/indra/newview/llpanelgrouplandmoney.cpp +++ b/indra/newview/llpanelgrouplandmoney.cpp @@ -236,6 +236,7 @@ public: std::string mCantViewParcelsText; std::string mCantViewAccountsText; + std::string mEmptyParcelsText; }; //******************************************* @@ -452,6 +453,7 @@ void LLPanelGroupLandMoney::impl::processGroupLand(LLMessageSystem* msg) // This power was removed to make group roles simpler //if ( !gAgent.hasPowerInGroup(mGroupID, GP_LAND_VIEW_OWNED) ) return; if (!gAgent.isInGroup(mPanel.mGroupID)) return; + mGroupParcelsp->setCommentText(mEmptyParcelsText); std::string name; std::string desc; @@ -696,6 +698,7 @@ BOOL LLPanelGroupLandMoney::postBuild() mImplementationp->mCantViewParcelsText = getString("cant_view_group_land_text"); mImplementationp->mCantViewAccountsText = getString("cant_view_group_accounting_text"); + mImplementationp->mEmptyParcelsText = getString("epmty_view_group_land_text"); if ( mImplementationp->mMapButtonp ) { -- cgit v1.2.3