forked from qt-creator/qt-creator
Debugger: Avoid nullptr access
Change-Id: Iff5c48d83fa7989798f1ff34868a5b37f439a744 Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user