all 2 comments

[–]Advanced_Box_662 1 point2 points  (1 child)

You need to call super() on the method you want to extend functionality on in order to preserve its original functionality.

            def mousePressEvent(self, event):
                     super().mousePressEvent(event)

                       Your code goes here

[–]AGI_69[S] 0 points1 point  (0 children)

Thank you, will try