Preferences/ConfigurationPages/CooperationPage.py

branch
5_0_x
changeset 738
170c7b28ba3f
parent 165
3302a726fd1e
child 791
9ec2ac20e54e
equal deleted inserted replaced
732:e9e36c342b13 738:170c7b28ba3f
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