Commit b688d18d authored by Christian Stenger's avatar Christian Stenger

Debugger: Avoid nullptr access

Change-Id: Iff5c48d83fa7989798f1ff34868a5b37f439a744
Reviewed-by: Kai Koehne's avatarKai Koehne <kai.koehne@qt.io>
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
parent abeac621
......@@ -2655,7 +2655,7 @@ void DebuggerPluginPrivate::updateDebugActions()
if (m_shuttingDown)
return;
//if we're currently debugging the actions are controlled by engine
if (m_currentEngine->state() != DebuggerNotReady)
if (m_currentEngine && m_currentEngine->state() != DebuggerNotReady)
return;
QString whyNot;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment