Wizards editing pro files would sometimes ask for reloading open editors

Task-number: QTCREATORBUG-2205
Reviewed-by: dt
This commit is contained in:
con
2010-10-18 13:33:51 +02:00
parent d95f3324c7
commit 8f647ca9ca

View File

@@ -1066,7 +1066,9 @@ void Qt4PriFileNode::changeFiles(const FileType fileType,
}
// save file
Core::ICore::instance()->fileManager()->expectFileChange(m_projectFilePath);
save(lines);
Core::ICore::instance()->fileManager()->unexpectFileChange(m_projectFilePath);
// This is a hack.
// We are saving twice in a very short timeframe, once the editor and once the ProFile.