Results: Fix db save results open and display.

This commit is contained in:
parouby committed 2025-09-25 10:58:29 +02:00
1 parent 9375827949
commit dbcdace348
5 files changed
+31 -9

No files matched your search

+4
View File
@@ -593,6 +593,7 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
def set_results(self, solver, results):
self._last_solver = solver
self._last_results = results
self._study.results = results
self.enable_actions("action_menu_results_last", True)
@@ -1607,6 +1608,9 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
if self._last_solver is None:
return
if self._study is not None and self._study.results is not None:
self._last_results = self._study.results
if self._last_solver._type == "mage8":
self.open_solver_results(self._last_solver,
self._last_results)