- CGUICheckBox no longer gives up focus on EMIE_LMOUSE_LEFT_UP (thx @Demre for reporting http://irrlicht.sourceforge.net/forum/viewtopic.php?f=1&t=49598)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4696 dfc29bdd-3216-0410-991c-e03cc46cb475
master
cutealien 2014-02-19 10:43:03 +00:00
parent 7e28379c42
commit eadd14e3cd
2 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,7 @@
--------------------------
Changes in 1.9 (not yet released)
- CGUICheckBox no longer gives up focus on EMIE_LMOUSE_LEFT_UP (thx @Demre for reporting)
- Bugfix: IGUIElement::addChild now prevents setting an element as it's own child.
- Bugfix: getFont for xml-fonts now also works for fonts inside archives (thx @Neirdan for bugreport)
- Added function irr::core::mergeFilename

View File

@ -89,7 +89,6 @@ bool CGUICheckBox::OnEvent(const SEvent& event)
if (event.MouseInput.Event == EMIE_LMOUSE_LEFT_UP)
{
bool wasPressed = Pressed;
Environment->removeFocus(this);
Pressed = false;
if (wasPressed && Parent)