Updates TextEdit value when focus is lost.

This commit is contained in:
Areloch 2019-02-23 16:18:03 -06:00
parent e0627973fb
commit b865e1d181

View file

@ -1241,6 +1241,9 @@ void GuiTextEditCtrl::onLoseFirstResponder()
root->disableKeyboardTranslation();
}
updateHistory(&mTextBuffer, true);
mHistoryDirty = false;
//execute the validate command
if( mValidateCommand.isNotEmpty() )
evaluate( mValidateCommand );