This commit is contained in:
Theophile Terraz committed 2025-02-13 15:10:53 +01:00
1 parent 4d026afb2c
commit c60a0938eb
4 files changed
+12 -10

No files matched your search

+1 -1
View File
@@ -275,7 +275,7 @@ class InitialConditionsWindow(PamhyrWindow):
if filename != "":
size = os.stat(filename).st_size
#self._table.import_geometry(0, filename)
# self._table.import_geometry(0, filename)
print(f"filename: {filename}")
self._import_from_file(filename)
+3 -3
View File
@@ -1550,9 +1550,9 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
if self._study.filename is not None:
if self._last_solver is None:
dialog.setDirectory(
os.path.dirname(self._study.filename)
)
dialog.setDirectory(
os.path.dirname(self._study.filename)
)
else:
dialog.setDirectory(
self._solver_workdir(self._last_solver)