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:
def run_main(self): # does stuff self.button_1.clicked.connect(self.run_next) self.button_1.clicked.disconnect(self.run_main)To copy to clipboard, switch view to plain text mode
Bookmarks