mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Updates TextEdit value when focus is lost.
This commit is contained in:
parent
775ca57047
commit
e89f959884
1 changed files with 3 additions and 0 deletions
|
|
@ -1241,6 +1241,9 @@ void GuiTextEditCtrl::onLoseFirstResponder()
|
|||
root->disableKeyboardTranslation();
|
||||
}
|
||||
|
||||
updateHistory(&mTextBuffer, true);
|
||||
mHistoryDirty = false;
|
||||
|
||||
//execute the validate command
|
||||
if( mValidateCommand.isNotEmpty() )
|
||||
evaluate( mValidateCommand );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue