mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
void GuiTextEditCtrl::execConsoleCallback() reversion
see https://github.com/GarageGames/Torque3D/issues/1408
This commit is contained in:
parent
82bafd9f35
commit
1d442c9f84
1 changed files with 2 additions and 1 deletions
|
|
@ -212,7 +212,8 @@ void GuiTextEditCtrl::execConsoleCallback()
|
|||
Parent::execConsoleCallback();
|
||||
|
||||
// Update the console variable:
|
||||
setVariable(mTextBuffer.getPtr8());
|
||||
if ( mConsoleVariable[0] )
|
||||
Con::setVariable(mConsoleVariable, mTextBuffer.getPtr8());
|
||||
}
|
||||
|
||||
void GuiTextEditCtrl::updateHistory( StringBuffer *inTxt, bool moveIndex )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue