Use correct 'set user as ready' message

This commit is contained in:
Etoh 2024-11-03 21:48:09 +00:00 committed by GitHub
parent 4f1fe8d275
commit 0e8cefa534
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -825,7 +825,7 @@ class MainWindow(QtWidgets.QMainWindow):
addSetUserAsReadyText = getMessage("setasnotready-menu-label").format(shortUsername)
menu.addAction(QtGui.QPixmap(resourcespath + "cross.png"), addSetUserAsReadyText, lambda: self._syncplayClient.setOthersReadiness(username, False))
else:
addSetUserAsNotReadyText = getMessage("setasnotready-menu-label").format(shortUsername)
addSetUserAsNotReadyText = getMessage("setasready-menu-label").format(shortUsername)
menu.addAction(QtGui.QPixmap(resourcespath + "tick.png"), addSetUserAsNotReadyText, lambda: self._syncplayClient.setOthersReadiness(username, True))
menu.exec_(self.listTreeView.viewport().mapToGlobal(position))