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:
parent
d0e682214b
commit
1f81e1f066
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user