From 2c911fce8adf5b7438defbb235f6826c59b85bdf Mon Sep 17 00:00:00 2001 From: Seth ProductEngine Date: Fri, 4 Feb 2011 23:22:42 +0200 Subject: STORM-601 FIXED Color swatch now receives focus on mouse click. --- indra/newview/llcolorswatch.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'indra/newview/llcolorswatch.cpp') diff --git a/indra/newview/llcolorswatch.cpp b/indra/newview/llcolorswatch.cpp index 6f02192d0a..d77ebc5367 100644 --- a/indra/newview/llcolorswatch.cpp +++ b/indra/newview/llcolorswatch.cpp @@ -185,6 +185,10 @@ BOOL LLColorSwatchCtrl::handleMouseUp(S32 x, S32 y, MASK mask) llassert(getEnabled()); llassert(getVisible()); + // Focus the widget now in order to return the focus + // after the color picker is closed. + setFocus(TRUE); + showPicker(FALSE); } } -- cgit v1.2.3