From 079a6b302e75d4bec3d84887d4b5869e6f82318b Mon Sep 17 00:00:00 2001
From: Pierre-Antoine Rouby <pierre-antoine.rouby@inrae.fr>
Date: Wed, 17 May 2023 15:58:41 +0200
Subject: [PATCH] LC: Connect tables data change to plot update.

---
 src/View/LateralContribution/Window.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/View/LateralContribution/Window.py b/src/View/LateralContribution/Window.py
index b20543ad..5664df8b 100644
--- a/src/View/LateralContribution/Window.py
+++ b/src/View/LateralContribution/Window.py
@@ -135,6 +135,9 @@ class LateralContributionWindow(ASubMainWindow, ListedSubWindow):
                  .selectionChanged\
                  .connect(self._set_current_reach)
 
+            self._table[t].dataChanged\
+                          .connect(self._set_current_reach)
+
     def current_tab(self):
         return self.find(QTabWidget, "tabWidget")\
                    .currentWidget()\
-- 
GitLab