(self)
| 1430 | self.console.executeCommand(command) |
| 1431 | |
| 1432 | def sendChatMessage(self): |
| 1433 | chatText = self.chatInput.text() |
| 1434 | self.chatInput.setText("") |
| 1435 | if chatText != "": |
| 1436 | if chatText[:1] == "/" and chatText != "/": |
| 1437 | command = chatText[1:] |
| 1438 | if command and command[:1] == "/": |
| 1439 | chatText = chatText[1:] |
| 1440 | else: |
| 1441 | self.executeCommand(command) |
| 1442 | return |
| 1443 | self._syncplayClient.sendChat(chatText) |
| 1444 | |
| 1445 | def addTopLayout(self, window): |
| 1446 | window.topSplit = self.topSplitter(Qt.Horizontal, self) |
nothing calls this directly
no test coverage detected