Fix a missed variable replacement in the debug settings merge.

This commit is contained in:
Router Gray
2019-10-24 17:26:52 -05:00
committed by Liru Færs
parent 68481b8921
commit 8b367c8eab

View File

@@ -546,8 +546,8 @@ void LLFloaterSettingsDebug::updateControl()
case TYPE_COL4U:
{
LLColor4U clr(sd);
color_swatch->setVisible(TRUE);
if (LLColor4(clr) != LLColor4(color_swatch->getValue()))
mValColor->setVisible(TRUE);
if (LLColor4(clr) != LLColor4(mValColor->getValue()))
{
mValColor->set(LLColor4(clr), TRUE, FALSE);
}