mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Results: Delete ReadingResultsDialog (switch to WaitingDialog).
This commit is contained in:
1 parent
4222503961
commit
c4e1a4c485
5 files changed
+14
-200
No files matched your search
@@ -44,7 +44,7 @@ from PyQt5.QtWidgets import (
|
||||
)
|
||||
|
||||
from View.RunSolver.Log.Window import SolverLogFileWindow
|
||||
from View.Results.ReadingResultsDialog import ReadingResultsDialog
|
||||
from View.WaitingDialog import WaitingDialog
|
||||
|
||||
try:
|
||||
from signal import SIGTERM, SIGSTOP, SIGCONT
|
||||
@@ -297,7 +297,11 @@ class SolverLogWindow(PamhyrWindow):
|
||||
logger.error(f"Failed to open results")
|
||||
logger_exception(e)
|
||||
|
||||
dlg = ReadingResultsDialog(reading_fn=reading_fn, parent=self)
|
||||
dlg = WaitingDialog(
|
||||
reading_fn=reading_fn,
|
||||
title="waiting_result",
|
||||
parent=self
|
||||
)
|
||||
dlg.exec_()
|
||||
|
||||
def _update_logs_all(self):
|
||||
@@ -384,7 +388,11 @@ class SolverLogWindow(PamhyrWindow):
|
||||
self._study, self._workdir, qlog=self._output
|
||||
)
|
||||
|
||||
dlg = ReadingResultsDialog(reading_fn=reading_fn, parent=self)
|
||||
dlg = WaitingDialog(
|
||||
reading_fn=reading_fn,
|
||||
title="waiting_result",
|
||||
parent=self
|
||||
)
|
||||
dlg.exec_()
|
||||
|
||||
self._parent.set_results(self._solver, self._results)
|
||||
|
||||
Reference in new issue
Block a user