force Mage sulver type in open from file

This commit is contained in:
Theophile Terraz committed 2025-01-17 13:54:27 +01:00
1 parent aa8a9dccbf
commit e4224e6358
1 file changed
+2 -1
+2 -1
View File
@@ -29,6 +29,7 @@ from numpy.core.multiarray import where
from platformdirs import user_cache_dir
from Solver.AdisTS import AdisTS
from Solver.Mage import Mage8
from tools import logger_exception
from PyQt5 import QtGui
@@ -1550,7 +1551,7 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
file_name = dialog.selectedFiles()
logger.info(f"Select results: {file_name}")
self.open_solver_results(
self._last_solver,
Mage8("Mage"),
results=file_name[0]
)