1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix regression: chatlog didn't scroll to bottom on startup

This commit is contained in:
krepa098 2015-01-26 19:15:29 +01:00
parent 0442db2bae
commit ecf15a6ca3

View File

@ -393,6 +393,9 @@ void ChatLog::scrollToBottom()
void ChatLog::startResizeWorker() void ChatLog::startResizeWorker()
{ {
if(lines.empty())
return;
// (re)start the worker // (re)start the worker
if(!workerTimer->isActive()) if(!workerTimer->isActive())
{ {