Skip to content

Commit

Permalink
finish merge
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhroom committed Sep 4, 2024
1 parent 04dedf0 commit b7788a6
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions rascal2/ui/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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()

0 comments on commit b7788a6

Please sign in to comment.