| 134 | } |
| 135 | |
| 136 | void Chat::startCommand() { |
| 137 | if (m_scripted) |
| 138 | m_script.invoke("startCommand"); |
| 139 | else { |
| 140 | show(); |
| 141 | m_textBox->setText("/"); |
| 142 | m_textBox->focus(); |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | bool Chat::hasFocus() const { |
| 147 | if (m_scripted) |
no test coverage detected