From 02ccfa9ed753fbaf7153502b62719a1e8c7344fc Mon Sep 17 00:00:00 2001
From: Theophile Terraz <theophile.terraz@inrae.fr>
Date: Wed, 22 Jan 2025 11:59:39 +0100
Subject: [PATCH] disable custom plot adists

---
 src/View/Results/WindowAdisTS.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/View/Results/WindowAdisTS.py b/src/View/Results/WindowAdisTS.py
index 9d998826..f09028b3 100644
--- a/src/View/Results/WindowAdisTS.py
+++ b/src/View/Results/WindowAdisTS.py
@@ -402,6 +402,8 @@ class ResultsWindowAdisTS(PamhyrWindow):
             "action_export": self.export,
         }
 
+        self.find(QAction, "action_add").setEnabled(False)
+
         for action in actions:
             self.find(QAction, action).triggered.connect(
                 actions[action]
-- 
GitLab