Project/Project.py

changeset 2771
281c9b30dd91
parent 2739
7360f4e732cd
child 2791
a9577f248f04
child 2796
3584161f55e7
equal deleted inserted replaced
2770:fd5ee85f0450 2771:281c9b30dd91
2370 self.__readUserProperties() 2370 self.__readUserProperties()
2371 2371
2372 QApplication.setOverrideCursor(QCursor(Qt.WaitCursor)) 2372 QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
2373 QApplication.processEvents() 2373 QApplication.processEvents()
2374 2374
2375 oldState = self.isDirty()
2375 self.vcs = self.initVCS() 2376 self.vcs = self.initVCS()
2376 if self.vcs is None: 2377 if self.vcs is None and self.isDirty() == oldState:
2377 # check, if project is version controlled 2378 # check, if project is version controlled
2378 pluginManager = e5App().getObject("PluginManager") 2379 pluginManager = e5App().getObject("PluginManager")
2379 for indicator, vcsData in \ 2380 for indicator, vcsData in \
2380 list(pluginManager.getVcsSystemIndicators().items()): 2381 list(pluginManager.getVcsSystemIndicators().items()):
2381 if os.path.exists(os.path.join(self.ppath, indicator)): 2382 if os.path.exists(os.path.join(self.ppath, indicator)):

eric ide

mercurial