mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Duplicate window: avoid opening duplicate windows for boundary and initial conditions ADISTT
This commit is contained in:
1 parent
816d7663b5
commit
123259c2ef
1 file changed
+2
-2
@@ -1084,7 +1084,7 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
|||||||
|
|
||||||
if self.sub_window_exists(
|
if self.sub_window_exists(
|
||||||
BoundaryConditionsTemperatureWindow,
|
BoundaryConditionsTemperatureWindow,
|
||||||
data=[self._study, None, bclist]
|
data=[self._study, None]
|
||||||
):
|
):
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -1104,7 +1104,7 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
|||||||
|
|
||||||
if self.sub_window_exists(
|
if self.sub_window_exists(
|
||||||
InitialConditionsTemperatureWindow,
|
InitialConditionsTemperatureWindow,
|
||||||
data=[self._study, None, ic_default]
|
data=[self._study, None]
|
||||||
):
|
):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user