Preferences/ConfigurationPages/VcsPage.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing the VCS configuration page. 7 Module implementing the VCS configuration page.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 from .ConfigurationPageBase import ConfigurationPageBase 12 from .ConfigurationPageBase import ConfigurationPageBase
11 from .Ui_VcsPage import Ui_VcsPage 13 from .Ui_VcsPage import Ui_VcsPage
12 14
13 import Preferences 15 import Preferences
19 """ 21 """
20 def __init__(self): 22 def __init__(self):
21 """ 23 """
22 Constructor 24 Constructor
23 """ 25 """
24 super().__init__() 26 super(VcsPage, self).__init__()
25 self.setupUi(self) 27 self.setupUi(self)
26 self.setObjectName("VcsPage") 28 self.setObjectName("VcsPage")
27 29
28 # set initial values 30 # set initial values
29 self.vcsAutoCloseCheckBox.setChecked(Preferences.getVCS("AutoClose")) 31 self.vcsAutoCloseCheckBox.setChecked(Preferences.getVCS("AutoClose"))

eric ide

mercurial