We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9246441 commit 4c52cecCopy full SHA for 4c52cec
src/gui/PythonQtScriptingConsole.h
@@ -73,7 +73,7 @@ public Q_SLOTS:
73
QStringList history() { return _history; }
74
75
//! set history
76
- void setHistory(const QStringList& h) { _history = h; _historyPosition = 0; }
+ void setHistory(const QStringList& h) { _history = h; _historyPosition = h.count(); }
77
78
//! clear the console
79
void clear();
0 commit comments