From 5843a3f3e3873ddb7ef98b8390c7a5e0b6f3cba5 Mon Sep 17 00:00:00 2001
From: Oscar Gustafsson <oscar.gustafsson@gmail.com>
Date: Tue, 24 Jan 2023 14:56:04 +0100
Subject: [PATCH] Fix incorrect attribute name

---
 b_asic/GUI/drag_button.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/b_asic/GUI/drag_button.py b/b_asic/GUI/drag_button.py
index 002f03c1..7b488501 100644
--- a/b_asic/GUI/drag_button.py
+++ b/b_asic/GUI/drag_button.py
@@ -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}."
-- 
GitLab