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:
parent
0442db2bae
commit
ecf15a6ca3
|
@ -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())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user