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

meow-7.2.2
Seth ProductEngine 2011-02-04 23:22:42 +02:00
parent e82fb8c7b9
commit 2c911fce8a
1 changed files with 4 additions and 0 deletions

View File

@ -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);
}
}