From f3abb003f4e36c786b743694c0c6f3e42c743d65 Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Rouby <pierre-antoine.rouby@inrae.fr> Date: Wed, 31 May 2023 16:30:42 +0200 Subject: [PATCH] IC: Plot: Add sync as data change. --- src/View/InitialConditions/Window.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/View/InitialConditions/Window.py b/src/View/InitialConditions/Window.py index b29c62c6..2933cd47 100644 --- a/src/View/InitialConditions/Window.py +++ b/src/View/InitialConditions/Window.py @@ -132,6 +132,8 @@ class InitialConditionsWindow(ASubMainWindow, ListedSubWindow): self.copy_sc.activated.connect(self.copy) self.paste_sc.activated.connect(self.paste) + self._table.dataChanged.connect(self._update_plot) + def index_selected_row(self): table = self.find(QTableView, f"tableView") return table.selectionModel()\ -- GitLab