mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
undo command for reach selection in geometry
This commit is contained in:
1 parent
f35048b89f
commit
d6c1316178
5 files changed
+43
-9
No files matched your search
@@ -546,12 +546,8 @@ class GeometryWindow(PamhyrWindow):
|
||||
parent=self
|
||||
)
|
||||
if dlg.exec():
|
||||
self._reach = self._study.river.current_reach().reach
|
||||
self.setup_table()
|
||||
self.update_redraw() # Profile selection when line change in table
|
||||
self.find(QTableView, "tableView").selectionModel()\
|
||||
.selectionChanged\
|
||||
.connect(self.select_current_profile)
|
||||
self._table.change_reach(dlg.reach, self)
|
||||
|
||||
except Exception as e:
|
||||
logger_exception(e)
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user