diff --git a/src/plugins/qt4projectmanager/qt4nodes.cpp b/src/plugins/qt4projectmanager/qt4nodes.cpp
index 81a2c348fcab483cefb8517eeadbdbf611f8fdcd..a48fd03e2a7ed6f45bdec8457fbb080e67db1f50 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.