Fix chat widget focus deadzone

This commit is contained in:
Rasmus Karlsson
2017-07-31 01:26:20 +02:00
parent b25da12e9b
commit 5af5c9feb6
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -143,5 +143,10 @@ void ChatWidgetInput::resizeEvent(QResizeEvent *)
}
}
void ChatWidgetInput::mousePressEvent(QMouseEvent *)
{
this->chatWidget->giveFocus();
}
} // namespace widgets
} // namespace chatterino