diff options
author | Seth ProductEngine <slitovchuk@productengine.com> | 2011-02-04 23:22:42 +0200 |
---|---|---|
committer | Seth ProductEngine <slitovchuk@productengine.com> | 2011-02-04 23:22:42 +0200 |
commit | 2c911fce8adf5b7438defbb235f6826c59b85bdf (patch) | |
tree | 7e898bbd77a23e9795e9b4a517692cbd9dbaf588 | |
parent | e82fb8c7b90c0f5038c38a1aaf4882718433bfd6 (diff) |
STORM-601 FIXED Color swatch now receives focus on mouse click.
-rw-r--r-- | indra/newview/llcolorswatch.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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); } } |