0002-Don-t-try-to-send-empty-text.patch
| src/uisupport/inputline.cpp | ||
|---|---|---|
| 167 | 167 |
} |
| 168 | 168 | |
| 169 | 169 |
void InputLine::on_returnPressed() {
|
| 170 |
if (text().isEmpty()) |
|
| 171 |
return; |
|
| 172 | ||
| 170 | 173 |
addToHistory(text()); |
| 171 | 174 |
emit sendText(text()); |
| 172 | 175 |
resetLine(); |
| 173 |
- |
|