diff --git a/b_asic/GUI/drag_button.py b/b_asic/GUI/drag_button.py
index 2b2a211945a6fe8d686b5d6ab1bccd5b935f73e5..d300315f0217f203bf1c849ce04d614fddfc87e1 100644
--- a/b_asic/GUI/drag_button.py
+++ b/b_asic/GUI/drag_button.py
@@ -92,7 +92,7 @@ class DragButton(QPushButton):
         self.pressed = not pressed
         self.setStyleSheet(f"background-color: {'white' if not self.pressed else 'grey'}; border-style: solid;\
         border-color: black; border-width: 2px")
-        path_to_image = os.path.join('operation_icons', f"{self.operation_path_name}{'_grey.png' if self.pressed else '.png'}")
+        path_to_image = os.path.join(os.path.dirname(__file__), 'operation_icons', f"{self.operation_path_name}{'_grey.png' if self.pressed else '.png'}")
         self.setIcon(QIcon(path_to_image))
         self.setIconSize(QSize(55, 55))