Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #11790 from AdmiralCurtiss/network-widget-workaround
Qt/NetworkWidget: Don't update if not paused.
  • Loading branch information
leoetlino committed Apr 25, 2023
2 parents 77b334b + 8a6118b commit ba150a6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Source/Core/DolphinQt/Debugger/NetworkWidget.cpp
Expand Up @@ -239,6 +239,16 @@ void NetworkWidget::Update()
if (!isVisible())
return;

if (Core::GetState() != Core::State::Paused)
{
m_socket_table->setDisabled(true);
m_ssl_table->setDisabled(true);
return;
}

m_socket_table->setDisabled(false);
m_ssl_table->setDisabled(false);

// needed because there's a race condition on the IOS instance otherwise
Core::CPUThreadGuard guard(Core::System::GetInstance());

Expand Down

0 comments on commit ba150a6

Please sign in to comment.