debug open results from file

master v1.2.5rc3
Theophile Terraz 2026-02-24 17:19:59 +01:00
parent 07cae542b0
commit c8f9866083
2 changed files with 5 additions and 5 deletions

View File

@ -55,7 +55,7 @@ class AboutWindow(PamhyrDialog):
label = self.get_label_text("label_version")
label = label.replace("@version", version)
label = label.replace("@codename", "(Le Coz)")
label = label.replace("@codename", "")
self.set_label_text("label_version", label)
# Authors

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")