debug open results from file

This commit is contained in:
Theophile Terraz committed 2026-02-24 17:19:59 +01:00
1 parent 07cae542b0
commit 71e1324a0f
2 files changed
+5 -5

No files matched your search

+4 -4
View File
@@ -195,10 +195,10 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
title = "(dbg) " if self.conf.debug else ""
if self._study is not None:
title += f"Pamhyr2 (Le Coz) - {self._study.name}"
title += f"Pamhyr2 - {self._study.name}"
self.setWindowTitle(title)
else:
title += "Pamhyr2 (Le Coz)"
title += "Pamhyr2"
self.setWindowTitle(title)
def setup_tab(self):
@@ -1563,10 +1563,10 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
if dialog.exec_():
file_name = dialog.selectedFiles()
logger.info(f"Select results: {file_name}")
logger.info(f"Select results: {file_name[0]}")
solver = None
if ".BIN" in file_name:
if ".BIN" in file_name[0]:
solver = Mage8("Mage8")
else:
solver = Rubar3("Rubar3")