mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Profiles: keep security to not open the same profile twice
This commit is contained in:
1 parent
587e5412d5
commit
776d9ab610
1 file changed
+2
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user