This commit is contained in:
Theophile Terraz committed 2025-06-24 14:19:10 +02:00
1 parent d6c1316178
commit 243941db51
2 files changed
+5 -5

No files matched your search

+5 -4
View File
@@ -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):
-1
View File
@@ -552,7 +552,6 @@ class GeometryWindow(PamhyrWindow):
logger_exception(e)
return
def duplicate(self):
rows = [
row.row() for row in