Prevent cursor-blinking if editbox is subelement of a disabled element (like in spinbox).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5782 dfc29bdd-3216-0410-991c-e03cc46cb475
master
cutealien 2019-03-12 19:54:20 +00:00
parent a9554b1f58
commit cda81b1200
1 changed files with 1 additions and 1 deletions

View File

@ -937,7 +937,7 @@ void CGUIEditBox::draw()
}
// draw cursor
if ( IsEnabled )
if ( isEnabled() )
{
if (WordWrap || MultiLine)
{