forked from qt-creator/qt-creator
Fix FileManager to correctly handle multiple IFile's for the same file
And port the Qt4ProjectManager to use that API for synchronization between editors and the .pro file tree. Reviewed-By: con
This commit is contained in:
@@ -599,7 +599,6 @@ void CVSPlugin::revertCurrentFile()
|
||||
args << QLatin1String("update") << QLatin1String("-C") << state.relativeCurrentFile();
|
||||
const CVSResponse revertResponse = runCVS(state.currentFileTopLevel(), args, m_settings.timeOutMS(), true);
|
||||
if (revertResponse.result == CVSResponse::Ok) {
|
||||
fcb.setModifiedReload(true);
|
||||
cvsVersionControl()->emitFilesChanged(QStringList(state.currentFile()));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user