def startSimulation(self): self.startpauseButton.setEnabled(False) Scheduler.startSimulation(self._checkReply)