mirror of https://gitlab.com/pamhyr/pamhyr2
Geometry: Fix pep8.
parent
84cf693528
commit
134c66d51c
|
|
@ -519,7 +519,6 @@ class Reach(SQLSubModel):
|
|||
self._update_profile_numbers()
|
||||
return imported_profiles
|
||||
|
||||
|
||||
@timer
|
||||
def read_file_st(self, filename):
|
||||
"""Read the ST file
|
||||
|
|
|
|||
|
|
@ -198,7 +198,6 @@ class GeometryReachTableModel(PamhyrTableModel):
|
|||
self.layoutAboutToBeChanged.emit()
|
||||
self.layoutChanged.emit()
|
||||
|
||||
|
||||
def duplicate(self, rows, profiles):
|
||||
self.layoutAboutToBeChanged.emit()
|
||||
|
||||
|
|
|
|||
|
|
@ -194,6 +194,7 @@ class DuplicateCommand(QUndoCommand):
|
|||
for profile in self._profiles:
|
||||
self._reach.insert_profile(self._rows[0], profile)
|
||||
|
||||
|
||||
class ImportCommand(QUndoCommand):
|
||||
def __init__(self, reach, row, filename):
|
||||
QUndoCommand.__init__(self)
|
||||
|
|
|
|||
Loading…
Reference in New Issue