Commit d4c62539 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Qbs: Avoid crash when build changes the project tree



Change-Id: I52fe5bb49f762e8837c5ea825adb20650316ff7b
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 21cccaa1
......@@ -333,6 +333,8 @@ void QbsProjectManagerPlugin::buildStateChanged(ProjectExplorer::Project *projec
if (project == m_selectedProject)
updateContextActions();
m_editorNode = currentEditorNode();
m_editorProject = currentEditorProject();
if (project == m_editorProject)
updateBuildActions();
}
......
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