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

Don't reload content dialog if nothing changed

Should fix the zetok's Resizing problem in #1938
This commit is contained in:
tux3 2015-09-05 23:53:30 +02:00
parent d0e682214b
commit 1f81e1f066

View File

@ -588,6 +588,10 @@ void ContentDialog::onChatroomWidgetClicked(GenericChatroomWidget *widget, bool
return;
}
// If we clicked on the currently active widget, don't reload and relayout everything
if (activeChatroomWidget == widget)
return;
contentLayout->clear();
if (activeChatroomWidget != nullptr)