summaryrefslogtreecommitdiff
path: root/src/ngspiceSimulation
diff options
context:
space:
mode:
Diffstat (limited to 'src/ngspiceSimulation')
-rw-r--r--src/ngspiceSimulation/NgspiceWidget.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py
index f7c88ba9..9a56414b 100644
--- a/src/ngspiceSimulation/NgspiceWidget.py
+++ b/src/ngspiceSimulation/NgspiceWidget.py
@@ -83,8 +83,7 @@ class NgspiceWidget(QtWidgets.QWidget):
else:
self.progressBarUi.writeSimulationStatusToConsole(isSuccess=False)
- scrollLength = self.progressBarUi.simulationConsole.verticalScrollBar().maximum()
- self.progressBarUi.simulationConsole.verticalScrollBar().setValue(scrollLength)
+ self.progressBarUi.scrollConsoleToBottom()
@QtCore.pyqtSlot()
def readyReadAll(self):