mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Merge pull request #2321 from Areloch/textApplyFocus
Updates TextEdit value when focus is lost.
This commit is contained in:
commit
a9707f09c3
1 changed files with 3 additions and 0 deletions
|
|
@ -1241,6 +1241,9 @@ void GuiTextEditCtrl::onLoseFirstResponder()
|
||||||
root->disableKeyboardTranslation();
|
root->disableKeyboardTranslation();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
updateHistory(&mTextBuffer, true);
|
||||||
|
mHistoryDirty = false;
|
||||||
|
|
||||||
//execute the validate command
|
//execute the validate command
|
||||||
if( mValidateCommand.isNotEmpty() )
|
if( mValidateCommand.isNotEmpty() )
|
||||||
evaluate( mValidateCommand );
|
evaluate( mValidateCommand );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue