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)): |