mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
force Mage sulver type in open from file
This commit is contained in:
1 parent
aa8a9dccbf
commit
e4224e6358
1 file changed
+2
-1
@@ -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]
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user