Fixed bug with editbox sending events to null parent, reported by Sudi
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2242 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
dc498aec77
commit
2940de0112
|
@ -1,6 +1,8 @@
|
|||
Changes in 1.6
|
||||
- Fixed a bug in the edit box where events are sometimes sent to a null parent, reported by Sudi
|
||||
|
||||
- Added generic console device. You can now use Irrlicht to create and manipuate graphics on a shell where no graphics hardware
|
||||
or windowing system is available. To enable it uncomment #define _IRR_USE_CONSOLE_DEVICE_ in IrrCompileConfig.h
|
||||
or windowing system is available. To enable it uncomment #define _IRR_USE_CONSOLE_DEVICE_ in IrrCompileConfig.h
|
||||
|
||||
Changes in 1.6 TA
|
||||
- implemented isALoadableFileFormat ( File *file ) for the Archive Loader
|
||||
|
|
|
@ -441,7 +441,8 @@ bool CGUIEditBox::processKey(const SEvent& event)
|
|||
e.GUIEvent.Caller = this;
|
||||
e.GUIEvent.Element = 0;
|
||||
e.GUIEvent.EventType = EGET_EDITBOX_ENTER;
|
||||
Parent->OnEvent(e);
|
||||
if (Parent)
|
||||
Parent->OnEvent(e);
|
||||
}
|
||||
break;
|
||||
case KEY_LEFT:
|
||||
|
|
Loading…
Reference in New Issue