Quote Originally Posted by hamstap85 View Post
So now to discover how to clear the slots.
You use the disconnect method instead of the connect method. I don't write python code, but I presume the syntax would be something like:

Qt Code:
  1. def run_main(self):
  2. # does stuff
  3. self.button_1.clicked.connect(self.run_next)
  4. self.button_1.clicked.disconnect(self.run_main)
To copy to clipboard, switch view to plain text mode