mirror of https://gitlab.com/pamhyr/pamhyr2
debug open results multiple times
parent
c3d732b426
commit
f636236935
|
|
@ -1437,8 +1437,10 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||||
ResultsWindow,
|
ResultsWindow,
|
||||||
data=[
|
data=[
|
||||||
self._study,
|
self._study,
|
||||||
None, # No config
|
None, # No config,
|
||||||
results]
|
results._solver,
|
||||||
|
results._repertory,
|
||||||
|
results._name]
|
||||||
):
|
):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
@ -1493,8 +1495,8 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||||
self._study,
|
self._study,
|
||||||
None, # No config
|
None, # No config
|
||||||
solver,
|
solver,
|
||||||
results,
|
results._repertory,
|
||||||
self
|
results._name,
|
||||||
]
|
]
|
||||||
):
|
):
|
||||||
return
|
return
|
||||||
|
|
@ -1585,7 +1587,9 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||||
data=[
|
data=[
|
||||||
self._study,
|
self._study,
|
||||||
None] + # No config
|
None] + # No config
|
||||||
results
|
[r._solver for r in results] +
|
||||||
|
[r._repertory for r in results] +
|
||||||
|
[r._name for r in results]
|
||||||
):
|
):
|
||||||
#w = self.get_sub_window(
|
#w = self.get_sub_window(
|
||||||
#ResultsWindow,
|
#ResultsWindow,
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,9 @@ class ResultsWindow(PamhyrWindow):
|
||||||
)
|
)
|
||||||
|
|
||||||
for r in results:
|
for r in results:
|
||||||
self._hash_data.append(r)
|
self._hash_data.append(r._solver)
|
||||||
|
self._hash_data.append(r._repertory)
|
||||||
|
self._hash_data.append(r._name)
|
||||||
|
|
||||||
self._additional_plot = {}
|
self._additional_plot = {}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,8 @@ class ResultsWindowAdisTS(PamhyrWindow):
|
||||||
)
|
)
|
||||||
|
|
||||||
self._hash_data.append(self._solver)
|
self._hash_data.append(self._solver)
|
||||||
self._hash_data.append(self._results)
|
self._hash_data.append(self._results._repertory)
|
||||||
|
self._hash_data.append(self._results._name)
|
||||||
|
|
||||||
self._additional_plot = {}
|
self._additional_plot = {}
|
||||||
self._current_pol_id = [1]
|
self._current_pol_id = [1]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue