mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 01:47:31 +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();
|
ui->messagePlainTextEdit->setFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Application::processEvents();
|
||||||
|
|
||||||
|
scrollToBottom();
|
||||||
|
|
||||||
#ifdef HAVE_QXMPP
|
#ifdef HAVE_QXMPP
|
||||||
const QXmppClient& xmppClient = XmppClient::getInstance().getXMPPClient();
|
const QXmppClient& xmppClient = XmppClient::getInstance().getXMPPClient();
|
||||||
if (xmppClient.isConnected()) {
|
if (xmppClient.isConnected()) {
|
||||||
|
|
Loading…
Reference in a new issue