Skip to content
Snippets Groups Projects
Commit 639338b3 authored by con's avatar con
Browse files

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

parent 1c6d62aa
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment