65 if index == -1: |
65 if index == -1: |
66 index = 0 |
66 index = 0 |
67 self.identityCombo.setCurrentIndex(index) |
67 self.identityCombo.setCurrentIndex(index) |
68 |
68 |
69 # servers |
69 # servers |
70 self.serverEdit.setText(self.__network.getServerNames()[0]) |
70 self.serverEdit.setText(self.__network.getServerName()) |
71 |
71 |
72 # channels |
72 # channels |
73 for channelName in sorted(self.__network.getChannelNames()): |
73 for channelName in sorted(self.__network.getChannelNames()): |
74 channel = self.__network.getChannel(channelName) |
74 channel = self.__network.getChannel(channelName) |
75 if channel.autoJoin(): |
75 if channel.autoJoin(): |