From 5b0edb400f99459a485c76cfda56f4469e7eb39d Mon Sep 17 00:00:00 2001 From: Martin <martin.hogstedt@hotmail.com> Date: Mon, 17 Jun 2024 14:47:03 +0200 Subject: [PATCH] added saved message --- src/simudator/gui/gui.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/simudator/gui/gui.py b/src/simudator/gui/gui.py index 9b6285a..2bb2a03 100644 --- a/src/simudator/gui/gui.py +++ b/src/simudator/gui/gui.py @@ -850,7 +850,9 @@ class GUI(QMainWindow): res = self.cpu.save_state_to_file(path) - if not res: + if res: + self.messageBox("File saved.") + else: self.errorBox("Unable to save.") def openBreakpointWindow(self) -> None: -- GitLab