Skip to content
Snippets Groups Projects
Commit 5843a3f3 authored by Oscar Gustafsson's avatar Oscar Gustafsson :bicyclist:
Browse files

Fix incorrect attribute name

parent f786ce10
No related branches found
No related tags found
No related merge requests found
......@@ -155,7 +155,7 @@ class DragButton(QPushButton):
def is_flipped(self):
"""Return True if the button is flipped (inputs to the right)."""
return self._is_flipped
return self._flipped
def select_button(self, modifiers=None):
if modifiers != Qt.KeyboardModifier.ControlModifier:
......@@ -175,7 +175,7 @@ class DragButton(QPushButton):
for signal in self._window.signalList:
signal.update()
def remove(self):
def remove(self, event=None):
"""Remove button/operation from signal flow graph."""
self._window.logger.info(
f"Removing operation with name {self.operation.name}."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment