Commit 431a2763 authored by dt's avatar dt
Browse files

Ask for saving when using the context menu

parent 73d6ea78
......@@ -281,7 +281,8 @@ void Qt4Manager::buildSubDirContextMenu()
if (Qt4ProFileNode *profile = qobject_cast<Qt4ProFileNode *>(m_contextNode))
bc->setSubNodeBuild(profile);
projectExplorer()->buildManager()->buildProject(bc);
if (projectExplorer()->saveModifiedFiles())
projectExplorer()->buildManager()->buildProject(bc);
bc->setSubNodeBuild(0);
}
......
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