Preferences/ConfigurationPages/CooperationPage.py

changeset 739
efbfe57c8219
parent 165
3302a726fd1e
child 791
9ec2ac20e54e
equal deleted inserted replaced
737:63a55933bdf3 739:efbfe57c8219
44 self.portToTrySpin.setValue( 44 self.portToTrySpin.setValue(
45 Preferences.getCooperation("MaxPortsToTry")) 45 Preferences.getCooperation("MaxPortsToTry"))
46 self.autoAcceptCheckBox.setChecked( 46 self.autoAcceptCheckBox.setChecked(
47 Preferences.getCooperation("AutoAcceptConnections")) 47 Preferences.getCooperation("AutoAcceptConnections"))
48 48
49 self.bannedUsersList.addItems(list(sorted( 49 self.bannedUsersList.addItems(sorted(
50 Preferences.getCooperation("BannedUsers")))) 50 Preferences.getCooperation("BannedUsers")))
51 51
52 def save(self): 52 def save(self):
53 """ 53 """
54 Public slot to save the Cooperation configuration. 54 Public slot to save the Cooperation configuration.
55 """ 55 """

eric ide

mercurial