mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 11:47:25 +02:00
Fix bug with chat scrolling randomly
This commit is contained in:
parent
63df2b2372
commit
f1aaea0ffa
1 changed files with 4 additions and 0 deletions
|
@ -124,6 +124,10 @@ void ChatWindow::showEvent(QShowEvent* event) {
|
|||
ui->messagePlainTextEdit->setFocus();
|
||||
}
|
||||
|
||||
Application::processEvents();
|
||||
|
||||
scrollToBottom();
|
||||
|
||||
#ifdef HAVE_QXMPP
|
||||
const QXmppClient& xmppClient = XmppClient::getInstance().getXMPPClient();
|
||||
if (xmppClient.isConnected()) {
|
||||
|
|
Loading…
Reference in a new issue