mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/maskMadness
This commit is contained in:
commit
677c061bc9
|
|
@ -233,7 +233,7 @@ void GuiInspectorField::setFirstResponder( GuiControl *firstResponder )
|
|||
{
|
||||
Parent::setFirstResponder( firstResponder );
|
||||
|
||||
if (( firstResponder == this || firstResponder == mEdit ) && firstResponder->isProperlyAdded())
|
||||
if (( firstResponder == this || firstResponder == mEdit ) && (firstResponder && firstResponder->isProperlyAdded()))
|
||||
{
|
||||
mInspector->setHighlightField( this );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue