eric7/Project/UserPropertiesDialog.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8318
962bce857696
child 8358
144a6b854f70
equal deleted inserted replaced
8355:8a7677a63c8d 8356:68ec9c3d4de5
7 Module implementing the user specific project properties dialog. 7 Module implementing the user specific project properties dialog.
8 """ 8 """
9 9
10 from PyQt6.QtWidgets import QDialog 10 from PyQt6.QtWidgets import QDialog
11 11
12 from E5Gui.E5Application import e5App 12 from E5Gui.EricApplication import ericApp
13 13
14 import Preferences 14 import Preferences
15 15
16 from .Ui_UserPropertiesDialog import Ui_UserPropertiesDialog 16 from .Ui_UserPropertiesDialog import Ui_UserPropertiesDialog
17 17
44 44
45 enableVcsGroup = False 45 enableVcsGroup = False
46 if self.project.pdata["VCS"]: 46 if self.project.pdata["VCS"]:
47 found = False 47 found = False
48 for _indicator, vcsData in ( 48 for _indicator, vcsData in (
49 e5App().getObject("PluginManager") 49 ericApp().getObject("PluginManager")
50 .getVcsSystemIndicators().items() 50 .getVcsSystemIndicators().items()
51 ): 51 ):
52 for vcsSystem, _vcsSystemDisplay in vcsData: 52 for vcsSystem, _vcsSystemDisplay in vcsData:
53 if vcsSystem == self.project.pdata["VCS"]: 53 if vcsSystem == self.project.pdata["VCS"]:
54 found = True 54 found = True

eric ide

mercurial