mirror of https://gitlab.com/pamhyr/pamhyr2
Pamhyr2: Fix pep8.
parent
83ecdc9a88
commit
fd54116d55
|
|
@ -79,6 +79,7 @@ class DeleteScenariosCommand(QUndoCommand):
|
||||||
|
|
||||||
self._scenario.set_as_deleted()
|
self._scenario.set_as_deleted()
|
||||||
|
|
||||||
|
|
||||||
class SetCommand(QUndoCommand):
|
class SetCommand(QUndoCommand):
|
||||||
def __init__(self, scenario, column, new_value):
|
def __init__(self, scenario, column, new_value):
|
||||||
QUndoCommand.__init__(self)
|
QUndoCommand.__init__(self)
|
||||||
|
|
|
||||||
|
|
@ -257,7 +257,6 @@ class ASubWindowFeatures(object):
|
||||||
"""
|
"""
|
||||||
self.find(QTextEdit, name).setEnabled(enable)
|
self.find(QTextEdit, name).setEnabled(enable)
|
||||||
|
|
||||||
|
|
||||||
def get_text_edit_text(self, name: str):
|
def get_text_edit_text(self, name: str):
|
||||||
"""Get text of text edit component
|
"""Get text of text edit component
|
||||||
|
|
||||||
|
|
@ -328,7 +327,6 @@ class ASubWindowFeatures(object):
|
||||||
"""
|
"""
|
||||||
self.find(QCheckBox, name).setEnabled(enable)
|
self.find(QCheckBox, name).setEnabled(enable)
|
||||||
|
|
||||||
|
|
||||||
def get_check_box(self, name: str):
|
def get_check_box(self, name: str):
|
||||||
"""Get status of checkbox component
|
"""Get status of checkbox component
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue