MCPcopy Create free account
hub / github.com/Syncplay/syncplay / updateAutoPlayState

Method updateAutoPlayState

syncplay/ui/gui.py:1891–1897  ·  view source on GitHub ↗
(self, newState)

Source from the content-addressed store, hash-verified

1889 self._syncplayClient.changeAutoPlayThrehsold(self.autoplayThresholdSpinbox.value())
1890
1891 def updateAutoPlayState(self, newState):
1892 oldState = self.autoplayPushButton.isChecked()
1893 if newState != oldState and newState is not None:
1894 self.autoplayPushButton.blockSignals(True)
1895 self.autoplayPushButton.setChecked(newState)
1896 self.autoplayPushButton.blockSignals(False)
1897 self.updateAutoPlayIcon()
1898
1899 @needsClient
1900 def changeAutoplayState(self, source=None):

Callers 1

loadSettingsMethod · 0.95

Calls 1

updateAutoPlayIconMethod · 0.95

Tested by

no test coverage detected