Prevent unicode autoplayMinUsers from breaking stuff
This commit is contained in:
parent
92b016ea16
commit
279eb1bffb
@ -811,7 +811,7 @@ class MainWindow(QtGui.QMainWindow):
|
|||||||
self.updateAutoPlayState(True)
|
self.updateAutoPlayState(True)
|
||||||
self.autoplayPushButton.setChecked(True)
|
self.autoplayPushButton.setChecked(True)
|
||||||
self.autoplayThresholdSpinbox.blockSignals(True)
|
self.autoplayThresholdSpinbox.blockSignals(True)
|
||||||
self.autoplayThresholdSpinbox.setValue(settings.value("autoplayMinUsers", 2))
|
self.autoplayThresholdSpinbox.setValue(int(settings.value("autoplayMinUsers", 2)))
|
||||||
self.autoplayThresholdSpinbox.blockSignals(False)
|
self.autoplayThresholdSpinbox.blockSignals(False)
|
||||||
settings.endGroup()
|
settings.endGroup()
|
||||||
settings = QSettings("Syncplay", "Interface")
|
settings = QSettings("Syncplay", "Interface")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user