From 0a973ddcbb77160abdbf2ef40e62e4cde7697144 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sat, 18 Sep 2021 14:41:11 +0200 Subject: [PATCH] DolphinQt: Don't update NetworkWidget when hidden Like 92a655c but for NetworkWidget (which was added later). --- Source/Core/DolphinQt/Debugger/NetworkWidget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/DolphinQt/Debugger/NetworkWidget.cpp b/Source/Core/DolphinQt/Debugger/NetworkWidget.cpp index b3bcbb5ff5..96d25cc464 100644 --- a/Source/Core/DolphinQt/Debugger/NetworkWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/NetworkWidget.cpp @@ -232,6 +232,9 @@ void NetworkWidget::ConnectWidgets() void NetworkWidget::Update() { + if (!isVisible()) + return; + m_socket_table->setRowCount(0); for (u32 wii_fd = 0; wii_fd < IOS::HLE::WII_SOCKET_FD_MAX; wii_fd++) {