summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/NetworkWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/NetworkWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/NetworkWidget.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Debugger/NetworkWidget.cpp b/Source/Core/DolphinQt/Debugger/NetworkWidget.cpp
index b9504e64ff..8f820dd68c 100644
--- a/Source/Core/DolphinQt/Debugger/NetworkWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/NetworkWidget.cpp
@@ -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());