forked from qt-creator/qt-creator
Analyzer: Only load a random first tool if none is selected already
Change-Id: Ia0ece94a8ef8d8f86d08400594744552c7a77242 Reviewed-by: Tarja Sundqvist <tarja.sundqvist@theqtcompany.com> Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -432,7 +432,7 @@ void AnalyzerManagerPrivate::modeChanged(IMode *mode)
|
||||
{
|
||||
if (mode && mode == m_mode) {
|
||||
m_mainWindow->setDockActionsVisible(true);
|
||||
static bool firstTime = true;
|
||||
static bool firstTime = !m_currentAction;
|
||||
if (firstTime)
|
||||
selectSavedTool();
|
||||
firstTime = false;
|
||||
|
||||
Reference in New Issue
Block a user