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:
@@ -490,7 +490,6 @@ void GitPlugin::undoFileChanges()
|
||||
const VCSBase::VCSBasePluginState state = currentState();
|
||||
QTC_ASSERT(state.hasFile(), return)
|
||||
Core::FileChangeBlocker fcb(state.currentFile());
|
||||
fcb.setModifiedReload(true);
|
||||
m_gitClient->revert(QStringList(state.currentFile()));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user