diff --git a/src/View/GeoTIFF/Window.py b/src/View/GeoTIFF/Window.py index 1fcf6650..d428ea30 100644 --- a/src/View/GeoTIFF/Window.py +++ b/src/View/GeoTIFF/Window.py @@ -109,6 +109,9 @@ class GeoTIFFListWindow(PamhyrWindow): if self._study.is_editable(): self.find(QAction, "action_add").triggered.connect(self.add) self.find(QAction, "action_delete").triggered.connect(self.delete) + else: + self.find(QAction, "action_add").setEnabled(False) + self.find(QAction, "action_delete").setEnabled(False) self.find(QAction, "action_edit").triggered.connect(self.edit)