summaryrefslogtreecommitdiff
path: root/indra/newview/llpaneleditwearable.cpp
diff options
context:
space:
mode:
authorPaul Guslisty <pguslisty@productengine.com>2011-01-14 18:10:46 +0200
committerPaul Guslisty <pguslisty@productengine.com>2011-01-14 18:10:46 +0200
commit8864a1b4db54b1ae5b335dec6372ee763b05ece9 (patch)
tree65599b56f7ae8d24873592a9d95277c2628fc14b /indra/newview/llpaneleditwearable.cpp
parent939e8d8f74687e7cb857c55bb6a8082226f1202b (diff)
STORM-834 FIXED Color picker remains opened after 'Undo changes' button was pressed on 'Edit weareble' panel
- Close color picker after color swatch's value updated
Diffstat (limited to 'indra/newview/llpaneleditwearable.cpp')
-rw-r--r--indra/newview/llpaneleditwearable.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llpaneleditwearable.cpp b/indra/newview/llpaneleditwearable.cpp
index 90ed8b9e58..4a74b7925c 100644
--- a/indra/newview/llpaneleditwearable.cpp
+++ b/indra/newview/llpaneleditwearable.cpp
@@ -569,6 +569,7 @@ static void update_color_swatch_ctrl(LLPanelEditWearable* self, LLPanel* panel,
if (color_swatch_ctrl)
{
color_swatch_ctrl->set(self->getWearable()->getClothesColor(entry->mTextureIndex));
+ color_swatch_ctrl->closeFloaterColorPicker();
}
}