mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-29 19:10:42 +01:00
pep8
This commit is contained in:
1 parent
d6c1316178
commit
243941db51
2 files changed
+5
-5
No files matched your search
@@ -292,6 +292,7 @@ class PurgeCommand(QUndoCommand):
|
||||
for profile in self._reach._profiles:
|
||||
profile.purge(self._np_purge)
|
||||
|
||||
|
||||
class ChangeReachCommand(QUndoCommand):
|
||||
def __init__(self, new_reach, parent):
|
||||
QUndoCommand.__init__(self)
|
||||
@@ -307,8 +308,8 @@ class ChangeReachCommand(QUndoCommand):
|
||||
p.setup_table()
|
||||
p.update_redraw()
|
||||
p.find(QTableView, "tableView").selectionModel()\
|
||||
.selectionChanged\
|
||||
.connect(p.select_current_profile)
|
||||
.selectionChanged\
|
||||
.connect(p.select_current_profile)
|
||||
|
||||
def redo(self):
|
||||
p = self._parent
|
||||
@@ -317,8 +318,8 @@ class ChangeReachCommand(QUndoCommand):
|
||||
p.setup_table()
|
||||
p.update_redraw()
|
||||
p.find(QTableView, "tableView").selectionModel()\
|
||||
.selectionChanged\
|
||||
.connect(p.select_current_profile)
|
||||
.selectionChanged\
|
||||
.connect(p.select_current_profile)
|
||||
|
||||
|
||||
class ShiftCommand(QUndoCommand):
|
||||
|
||||
@@ -552,7 +552,6 @@ class GeometryWindow(PamhyrWindow):
|
||||
logger_exception(e)
|
||||
return
|
||||
|
||||
|
||||
def duplicate(self):
|
||||
rows = [
|
||||
row.row() for row in
|
||||
|
||||
Reference in new issue
Block a user