mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 23:16:31 +00:00
Don't push blank lines into python REPL history
This commit is contained in:
@@ -1108,7 +1108,8 @@ void PythonShell::on_execute_clicked()
|
||||
|
||||
appendText(ui->interactiveOutput, command + lit("\n"));
|
||||
|
||||
history.push_front(command);
|
||||
if(!command.trimmed().isEmpty())
|
||||
history.push_front(command);
|
||||
historyidx = -1;
|
||||
|
||||
ui->lineInput->clear();
|
||||
|
||||
Reference in New Issue
Block a user