Skip to content

Commit

Permalink
void GuiTextEditCtrl::execConsoleCallback() reversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Azaezel committed Sep 16, 2015
1 parent 82bafd9 commit 1d442c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Engine/source/gui/controls/guiTextEditCtrl.cpp
Expand Up @@ -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 )
Expand Down

0 comments on commit 1d442c9

Please sign in to comment.