mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Merge pull request #2321 from Areloch/textApplyFocus
Updates TextEdit value when focus is lost.
This commit is contained in:
commit
9a760c721e
|
|
@ -1241,6 +1241,9 @@ void GuiTextEditCtrl::onLoseFirstResponder()
|
|||
root->disableKeyboardTranslation();
|
||||
}
|
||||
|
||||
updateHistory(&mTextBuffer, true);
|
||||
mHistoryDirty = false;
|
||||
|
||||
//execute the validate command
|
||||
if( mValidateCommand.isNotEmpty() )
|
||||
evaluate( mValidateCommand );
|
||||
|
|
|
|||
Loading…
Reference in a new issue