Skip to content
Snippets Groups Projects
Commit 2c911fce authored by Seth ProductEngine's avatar Seth ProductEngine
Browse files

STORM-601 FIXED Color swatch now receives focus on mouse click.

parent e82fb8c7
No related branches found
No related tags found
No related merge requests found
...@@ -185,6 +185,10 @@ BOOL LLColorSwatchCtrl::handleMouseUp(S32 x, S32 y, MASK mask) ...@@ -185,6 +185,10 @@ BOOL LLColorSwatchCtrl::handleMouseUp(S32 x, S32 y, MASK mask)
llassert(getEnabled()); llassert(getEnabled());
llassert(getVisible()); llassert(getVisible());
// Focus the widget now in order to return the focus
// after the color picker is closed.
setFocus(TRUE);
showPicker(FALSE); showPicker(FALSE);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment