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,
|
||||
data=[
|
||||
self._study,
|
||||
None, # No config
|
||||
results]
|
||||
None, # No config,
|
||||
results._solver,
|
||||
results._repertory,
|
||||
results._name]
|
||||
):
|
||||
return
|
||||
|
||||
|
|
@ -1493,8 +1495,8 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
|||
self._study,
|
||||
None, # No config
|
||||
solver,
|
||||
results,
|
||||
self
|
||||
results._repertory,
|
||||
results._name,
|
||||
]
|
||||
):
|
||||
return
|
||||
|
|
@ -1585,7 +1587,9 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
|||
data=[
|
||||
self._study,
|
||||
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(
|
||||
#ResultsWindow,
|
||||
|
|
|
|||
|
|
@ -107,7 +107,9 @@ class ResultsWindow(PamhyrWindow):
|
|||
)
|
||||
|
||||
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 = {}
|
||||
|
||||
|
|
|
|||
|
|
@ -98,7 +98,8 @@ class ResultsWindowAdisTS(PamhyrWindow):
|
|||
)
|
||||
|
||||
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._current_pol_id = [1]
|
||||
|
|
|
|||
Loading…
Reference in New Issue