mirror of https://gitlab.com/pamhyr/pamhyr2
Duplicate window: avoid opening duplicate windows for boundary and initial conditions ADISTT
parent
816d7663b5
commit
123259c2ef
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue