summaryrefslogtreecommitdiff
path: root/Source/Core/DebuggerWX/Src/LogWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DebuggerWX/Src/LogWindow.cpp')
-rw-r--r--Source/Core/DebuggerWX/Src/LogWindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/DebuggerWX/Src/LogWindow.cpp b/Source/Core/DebuggerWX/Src/LogWindow.cpp
index b329192de9..7e23dbf19b 100644
--- a/Source/Core/DebuggerWX/Src/LogWindow.cpp
+++ b/Source/Core/DebuggerWX/Src/LogWindow.cpp
@@ -110,6 +110,8 @@ void CLogWindow::OnClear(wxCommandEvent& event)
void CLogWindow::OnEnableAll(wxCommandEvent& event)
{
+ if (!LogManager::m_Log[0])
+ return;
static bool enable = true;
IniFile ini;
ini.Load("Dolphin.ini");