From b020162090c5eadda1b6a7225366eaf3759a801c Mon Sep 17 00:00:00 2001 From: Oscar Gustafsson <oscar.gustafsson@gmail.com> Date: Tue, 21 Jun 2022 15:42:04 +0200 Subject: [PATCH] Add event parameter --- b_asic/GUI/drag_button.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b_asic/GUI/drag_button.py b/b_asic/GUI/drag_button.py index 8b406cf1..4753b042 100644 --- a/b_asic/GUI/drag_button.py +++ b/b_asic/GUI/drag_button.py @@ -49,7 +49,7 @@ class DragButton(QPushButton): delete.triggered.connect(self.remove) menu.exec_(self.cursor().pos()) - def show_properties_window(self): + def show_properties_window(self, event): self.properties_window = PropertiesWindow(self, self._window) self.properties_window.show() -- GitLab