mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-03 14:49:22 +00:00
DolphinQt: Don't update NetworkWidget when hidden
Like 92a655c
but for NetworkWidget (which was added later).
This commit is contained in:
parent
d14d7595f2
commit
0a973ddcbb
1 changed files with 3 additions and 0 deletions
|
@ -232,6 +232,9 @@ void NetworkWidget::ConnectWidgets()
|
||||||
|
|
||||||
void NetworkWidget::Update()
|
void NetworkWidget::Update()
|
||||||
{
|
{
|
||||||
|
if (!isVisible())
|
||||||
|
return;
|
||||||
|
|
||||||
m_socket_table->setRowCount(0);
|
m_socket_table->setRowCount(0);
|
||||||
for (u32 wii_fd = 0; wii_fd < IOS::HLE::WII_SOCKET_FD_MAX; wii_fd++)
|
for (u32 wii_fd = 0; wii_fd < IOS::HLE::WII_SOCKET_FD_MAX; wii_fd++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue