From ef34fecc31be1e8da175f86a33126c549cb4747b Mon Sep 17 00:00:00 2001 From: Dylan Jeannin Date: Mon, 31 Aug 2026 14:21:53 +0200 Subject: [PATCH] Export geometry: doesnt export disabled profiles --- src/View/Geometry/Window.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/View/Geometry/Window.py b/src/View/Geometry/Window.py index a870cee5..93d46af7 100644 --- a/src/View/Geometry/Window.py +++ b/src/View/Geometry/Window.py @@ -888,8 +888,9 @@ class GeometryWindow(PamhyrWindow): if is_interpolated and not export_interpolated: continue - self._export_to_file_st_profile(wfile, profile, pid) - pid += 1 + if profile.enabled: + self._export_to_file_st_profile(wfile, profile, pid) + pid += 1 def _export_to_file_st_profile(self, wfile, profile, pid): num = f"{pid:>6}"