Fixes: Save as... didn't put the new file to the watches.

This commit is contained in:
con
2010-03-19 16:47:50 +01:00
parent 1c6d62aaf0
commit 639338b3c6

View File

@@ -340,7 +340,7 @@ void FileManager::checkForNewFileName()
const QString &fileName = fixFileName(file->fileName());
// check if the IFile is in the map
if (d->m_states[fileName].lastUpdatedState.contains(file)) {
if (d->m_states.value(fileName).lastUpdatedState.contains(file)) {
// Should checkForNewFileName also call updateFileInfo if the name didn't change?
updateFileInfo(file);
return;