--- a/Project/Project.py Wed Oct 24 19:18:40 2018 +0200 +++ b/Project/Project.py Wed Oct 24 19:59:49 2018 +0200 @@ -4783,8 +4783,17 @@ if self.vcsMenu is not None: self.vcsProjectHelper.initMenu(self.vcsMenu) self.vcsMenu.setEnabled(self.vcsSoftwareAvailable()) + return vcs - + + def resetVCS(self): + """ + Public method to reset the VCS. + """ + self.pdata["VCS"] = 'None' + self.vcs = self.initVCS() + e5App().getObject("PluginManager").deactivateVcsPlugins() + def __showContextMenuVCS(self): """ Private slot called before the vcs menu is shown.