[minor] small style changes

This commit is contained in:
Marcel Paffrath 2022-03-22 11:26:29 +01:00
parent 83ba63a3fd
commit 86dc0f5436
3 changed files with 5 additions and 7 deletions

View File

@ -734,11 +734,9 @@ class MainWindow(QMainWindow):
if use_logwidget:
self.logwidget = LogWidget(parent=None)
self.logwidget.show()
self.stdout = self.logwidget.stdout
self.stderr = self.logwidget.stderr
sys.stdout = self.stdout
sys.stderr = self.stderr
sys.stdout = self.logwidget.stdout
sys.stderr = self.logwidget.stderr
self.setCentralWidget(_widget)

View File

@ -24,10 +24,10 @@ It is highly recommended to use Anaconda for a simple creation of a Python insta
Afterwards run (from the PyLoT main directory where the files *requirements.txt* and *pylot.yml* are located)
conda create --name pylot_38 --file requirements.txt
conda env create -f pylot.yml
or
conda env create -f pylot.yml
conda create --name pylot_38 --file requirements.txt
to create a new Anaconda environment called "pylot_38".

View File

@ -120,7 +120,7 @@ class LogWidget(QtWidgets.QWidget):
self.layout.addWidget(self.tabs)
def active_error(self):
if self.current_active_error == False:
if not self.current_active_error:
self.current_active_error = True
self.show()
self.activateWindow()