From b7788a6eced4cec9004bc7cc07685006a9feacfa Mon Sep 17 00:00:00 2001 From: alexhroom Date: Mon, 2 Sep 2024 14:57:30 +0100 Subject: [PATCH] finish merge --- rascal2/ui/view.py | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/rascal2/ui/view.py b/rascal2/ui/view.py index 4591a5c..fd5bbd4 100644 --- a/rascal2/ui/view.py +++ b/rascal2/ui/view.py @@ -4,9 +4,8 @@ from rascal2.config import path_for, setup_logging, setup_settings from rascal2.dialogs.project_dialog import ProjectDialog -from rascal2.widgets.startup_widget import StartUpWidget -from rascal2.dialogs import ErrorDialog from rascal2.widgets import ControlsWidget +from rascal2.widgets.startup_widget import StartUpWidget from .presenter import MainWindowPresenter @@ -193,15 +192,3 @@ def init_settings_and_log(self, save_path: str): log_path.parents[0].mkdir(parents=True, exist_ok=True) self.logging = setup_logging(log_path, level=self.settings.log_level) - - def createErrorDialog(self, error: Exception): - """Produce an error dialog from an Exception. - - Parameters - ---------- - error : Exception - The exception passed to the View. - - """ - dlg = ErrorDialog(error=error, parent=self) - dlg.exec()