Don't push blank lines into python REPL history

This commit is contained in:
baldurk
2026-08-13 17:46:47 +01:00
parent a02741381b
commit a42d8ba2dd
+2 -1
View File
@@ -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();