Commit ad9dd78a authored by Kai Koehne's avatar Kai Koehne Committed by hjk
Browse files

Analyzer: Make sure right tool is shown when triggered via menu

Selecting a tool via menu while the Analyze mode is active resulted
in the wrong 'default' tool being selected when the tool finally
forces a switch to Analyze mode. This fixes it by switching to
Analyze mode first -> default tool is shown -> selected tool is shown.

Change-Id: I36e770c932b9c13552dc3604db58837a89d637b6

Reviewed-by: default avatarChristiaan Janssen <>
Reviewed-by: default avatarQt Sanity Bot <>
Reviewed-by: default avatarhjk <>
parent 1da7d047
......@@ -639,6 +639,8 @@ void AnalyzerManagerPrivate::selectMenuAction()
QTC_ASSERT(action, return);
IAnalyzerTool *tool = m_toolFromAction.value(action);
StartMode mode = m_modeFromAction.value(action);
selectTool(tool, mode);
Supports Markdown
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