From 1934e49f99006f10eaaf8bab764d19e2ce72ddcd Mon Sep 17 00:00:00 2001 From: Melanie Date: Mon, 22 Apr 2013 23:45:56 +0200 Subject: [PATCH] Add the option to dynamically enable/disable controls to the octopus --- indra/newview/hippofloaterxml.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indra/newview/hippofloaterxml.cpp b/indra/newview/hippofloaterxml.cpp index 926190ed6..28bd15994 100644 --- a/indra/newview/hippofloaterxml.cpp +++ b/indra/newview/hippofloaterxml.cpp @@ -356,6 +356,8 @@ bool HippoFloaterXmlImpl::execute(LLFloater *floater, LLUICtrl *ctrl, /*ctrl->setLabel(value);*/ } else if (key == "setVisible") { ctrl->setVisible(value != "0"); + } else if (key == "setEnabled") { + ctrl->setEnabled(value != "0"); } else if (key == "notify") { bool set = (value != "0"); if (HippoFloaterXmlImpl *floaterp = dynamic_cast(ctrl)) {