Add clear console when starting gamemode setting.

Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
This commit is contained in:
sphrose
2021-07-12 16:07:52 +01:00
parent 504201aef2
commit 17a79daad8
7 changed files with 24 additions and 0 deletions
+4
View File
@@ -537,6 +537,10 @@ void CConsoleSCB::AddToPendingLines(const QString& text, bool bNewLine)
s_pendingLines.push_back({ text, bNewLine });
}
void CConsoleSCB::ClearText()
{
ui->textEdit->clear();
}
/**
* When a CVar variable is updated, we need to tell alert our console variables
* pane so it can update the corresponding row