From d29c57ab4ba74c8300abebc829f94e162a3cd1a6 Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Mon, 30 Nov 2015 09:55:33 +0100 Subject: [PATCH] [bugfix] AutoPickLog is now directly attached to the MainWindow on the LeftDockWidgetArea and autoscrolls to the bottom --- QtPyLoT.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/QtPyLoT.py b/QtPyLoT.py index 9af35be9..441446d5 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -664,11 +664,11 @@ class MainWindow(QMainWindow): def autoPick(self): self.listWidget = QListWidget() self.setDirty(True) - logDockWidget = QDockWidget("AutoPickLog", self) - logDockWidget.setObjectName("LogDockWidget") - logDockWidget.setAllowedAreas(Qt.LeftDockWidgetArea | Qt.RightDockWidgetArea) - logDockWidget.setWidget(self.listWidget) - self.addDockWidget(Qt.LeftDockWidgetArea, logDockWidget) + self.logDockWidget = QDockWidget("AutoPickLog", self) + self.logDockWidget.setObjectName("LogDockWidget") + self.logDockWidget.setAllowedAreas(Qt.LeftDockWidgetArea | Qt.RightDockWidgetArea) + self.logDockWidget.setWidget(self.listWidget) + self.addDockWidget(Qt.LeftDockWidgetArea, self.logDockWidget) self.addListItem('loading default values for local data ...') autopick_parameter = AutoPickParameter('autoPyLoT_local.in') self.addListItem(str(autopick_parameter))