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 """ |