From fd54116d55f3dea595852dbe577ad65ed45141c4 Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Rouby Date: Wed, 4 Sep 2024 16:52:42 +0200 Subject: [PATCH] Pamhyr2: Fix pep8. --- src/View/Scenarios/UndoCommand.py | 1 + src/View/Tools/ASubWindow.py | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/View/Scenarios/UndoCommand.py b/src/View/Scenarios/UndoCommand.py index baaf2542..bfca8aaf 100644 --- a/src/View/Scenarios/UndoCommand.py +++ b/src/View/Scenarios/UndoCommand.py @@ -79,6 +79,7 @@ class DeleteScenariosCommand(QUndoCommand): self._scenario.set_as_deleted() + class SetCommand(QUndoCommand): def __init__(self, scenario, column, new_value): QUndoCommand.__init__(self) diff --git a/src/View/Tools/ASubWindow.py b/src/View/Tools/ASubWindow.py index c28f09a5..1825a7b4 100644 --- a/src/View/Tools/ASubWindow.py +++ b/src/View/Tools/ASubWindow.py @@ -257,7 +257,6 @@ class ASubWindowFeatures(object): """ self.find(QTextEdit, name).setEnabled(enable) - def get_text_edit_text(self, name: str): """Get text of text edit component @@ -328,7 +327,6 @@ class ASubWindowFeatures(object): """ self.find(QCheckBox, name).setEnabled(enable) - def get_check_box(self, name: str): """Get status of checkbox component