diff --git a/ryven-editor/ryven/gui/flow_ui.py b/ryven-editor/ryven/gui/flow_ui.py index 4cdf09fd..d7aeedab 100644 --- a/ryven-editor/ryven/gui/flow_ui.py +++ b/ryven-editor/ryven/gui/flow_ui.py @@ -103,7 +103,7 @@ def __init__(self, main_window, flow: Flow, flow_view: FlowView): self.ui.inspector_dock.setWidget(self.inspector_widget) #undo history widget - self.undo_widget = QUndoView(stack=self.flow_view._undo_stack) + self.undo_widget = QUndoView(stack=self.flow_view._undo_stack) # type: ignore self.ui.undo_history_dock.setWidget(self.undo_widget) # logs self.ui.logs_scrollArea.setWidget(self.create_loggers_widget()) diff --git a/ryvencore-qt/ryvencore_qt/src/flows/FlowView.py b/ryvencore-qt/ryvencore_qt/src/flows/FlowView.py index 58c063fa..0189d885 100644 --- a/ryvencore-qt/ryvencore_qt/src/flows/FlowView.py +++ b/ryvencore-qt/ryvencore_qt/src/flows/FlowView.py @@ -48,7 +48,7 @@ try: from qtpy.QtGui import QUndoStack except ImportError: - from qtpy.QtWidgets import QUndoStack + from qtpy.QtWidgets import QUndoStack # type: ignore from ryvencore.Flow import Flow from ryvencore.Node import Node