diff --git a/src/plugins/qt4projectmanager/qt4nodes.cpp b/src/plugins/qt4projectmanager/qt4nodes.cpp index 81a2c348fca..a48fd03e2a7 100644 --- a/src/plugins/qt4projectmanager/qt4nodes.cpp +++ b/src/plugins/qt4projectmanager/qt4nodes.cpp @@ -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.