From 6b03d2ddaee3058214de212e41d9650c17bfad72 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Fri, 31 May 2013 21:16:52 -0400 Subject: [PATCH] Dummy Views in PanelPermissions --- indra/newview/llpanelpermissions.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/indra/newview/llpanelpermissions.cpp b/indra/newview/llpanelpermissions.cpp index b40d6258d..326fb952d 100644 --- a/indra/newview/llpanelpermissions.cpp +++ b/indra/newview/llpanelpermissions.cpp @@ -261,7 +261,7 @@ void LLPanelPermissions::disableAll() combo_click_action->clear(); } getChildView("B:")->setVisible( FALSE); - getChildView("O:")->setVisible( FALSE); + //getChildView("O:")->setVisible( FALSE); getChildView("G:")->setVisible( FALSE); getChildView("E:")->setVisible( FALSE); getChildView("N:")->setVisible( FALSE); @@ -666,8 +666,8 @@ void LLPanelPermissions::refresh() perm_string = mask_to_string(owner_mask_on); if (!supports_export && owner_mask_on & PERM_EXPORT) // Hide Export when not available perm_string.erase(perm_string.find_last_of("E")); - getChild("O:")->setValue("O: " + perm_string); - getChildView("O:")->setVisible( TRUE); + //getChild("O:")->setValue("O: " + perm_string); + //getChildView("O:")->setVisible( TRUE); getChild("G:")->setValue("G: " + mask_to_string(group_mask_on)); getChildView("G:")->setVisible( TRUE); @@ -695,7 +695,7 @@ void LLPanelPermissions::refresh() { childSetVisible("perm_modify", true); getChildView("B:")->setVisible( FALSE); - getChildView("O:")->setVisible( FALSE); + //getChildView("O:")->setVisible( FALSE); getChildView("G:")->setVisible( FALSE); getChildView("E:")->setVisible( FALSE); getChildView("N:")->setVisible( FALSE);