Profiles: keep security to not open the same profile twice

mesh_tab
JeaDylan 2026-08-20 23:22:06 +02:00
parent 587e5412d5
commit 776d9ab610
1 changed files with 2 additions and 1 deletions

View File

@ -287,13 +287,14 @@ class GeometryWindow(PamhyrWindow):
if self.sub_window_exists(
ProfileWindow,
data=[None, None, profile]
data=[self._study, self._config, profile]
):
continue
win = ProfileWindow(
profile=profile,
study=self._study,
config=self._config,
parent=self,
)
self._profile_window.append(win)